In a video game, Shar has to build a pen shaped like a right triangle for her animals. If she needs 8 feet of fence for the shortest side and 17 feet of fence for the longest side, how many feet of fencing is needed for the entire animal pen?
 44 feet
 40 feet
 19 feet
 15 feet