Jenny is designing a pen for a cow in the shape of a right triangle. Because of space limitation on the farm, the first side of the pen should measure 10 feet and form a right angle with the second side, which should be 14 feet long. How many feet of fencing does Jenny need to make the whole pen? Round to the nearest tenth.