write up thesis 3d pythagoras problem solving