The perimeter of the triangle with the sides measuring 15 inches, 18 inches, and 7 inches is 40 inches. If you wanted to construct a similar triangle with a perimeter of 50 inches, what would be the length of the shortest side of the triangle? Show your work.