Let the width of the rectangle be w.
Let the length be l.
l = 3w - 2
Given,
Perimeter = 28
2*( l + w ) = 28
2*( 3w -2 + w ) = 28
4w - 2 = 14 [ Dividing both sides by 2 ]
2w - 1 = 7 [ Dividing both sides by 2 ]
2w = 8
w = 4.
Thus,
l = 3w -2 = 3*4 - 2 = 12 - 2 = 10
Therefore, the length is 10 inches and the width is 4 inches.