The length of a rectangle is 2 yd longer than its width.
If the perimeter of the rectangle is 48 yd, find its length and width.