a triangle has a perimeter of 49 inches. the medium side is 7 more than the short side, and the longest side is 5 times the length of the shortest side. find the shortest side