How to measure 10 minutes?
Use both hourglasses:
Turn over both hourglasses. After seven minutes smaller hourglass finished, the smaller one need 3 minutes more. Now start boiling the egg.When the big one is empty (after 3 minutes of boiling), turn it over again and when it finishes stop boiling egg. You boiled your egg 3 + 7 = 10 minutes