Word problem using pythagorean theorem