Pythagorean theorem word problems