I would like to make presentation in beamer with the below desired output:

There is no MWE as I cannot figure out how to do this. Help me out...
Edit 1: I would also like to have a caption for this figure. Also, is it possible to do this kind of animation with equation too?

just-do-it-mesite. Moreover, -1 for no MWE. I will be happy to upvote it as soon as you show us what you have tried :) – Raaja_is_at_topanswers.xyz Apr 01 '19 at 14:03