The length of a rectangle is 5 less than 3 times the width. If the perimeter is 54 units, what is the length and the width?

width ---- x

length ---- 3x-5

solve for x .....

2x + 2(3x-5) = 54