Brain teaser-Hour glass

I’ve understood first solution but I didn’t get second solution