Hour glass puzzle

I am not getting its solution. Kindly explain it.

Hi Tanishq, there is a video on hour glass puzzle in the online course. You can refer to it.