A rectangle has two pairs of equal sides, so we can find its perimeter using the following formula.
P=2l+2w
In this formula l is the length and w is the width. We know that P is equal to 28 inches and that w is equal to 5 inches.
By substituting these values into the formula we can calculate l.