pythagorean theorem and similar triangles 4768642