Measuring the Great Pyramid

While the famous Greek philosopher Thales of Miletus was in Egypt,
he was asked to find out the height of the Great Cheops pyramid.

How could he easily solve this difficult problem?