In a video game, Shar has to build a pen shaped like a right triangle for her animals. If she needs 6 feet of fence for the shortest side and 10 feet of fence for the longest side, how many feet of fencing is needed for the entire animal pen?
8 feet
24 feet
26 feet
28 feet