pythagorean theorem word problems