Apply Pythagoras Theorem in a special way