You have to boil an egg for three minutes. You have a three minute hourglass and a five minute hourglass. How can you make this possible?
You flip both the hourglasses over and when the two minute hourglass is done you drop the egg in because there is now three minutes left on the five minute hourglass.