A triangle has a perimeter of

40
inches. The medium side is
5
more than the short side, and the longest side is
5
times the length of the shortest side. Find the shortest side

short side --- x

medium side ---- x+5
longest side ---- 5x

5x + x+5 + x = 40

solve for x