Perimeter is the distance around the rectangle. So, it is two times the length plus two times the width.
\[P = 2l + 2w\]
You are given a width and perimeter, so plug in those values for P and w, and solve for l.