Can someone tell me how to play this?

I can’t figure out this game to same my life. Can someone help me out?