If the hypotenuse of a right triangle is 26 feet long and one leg is 14 feet longer than the other what is the length of the legs .