Referring to the figure below (not to scale), the perimeter of the rectangle is 48. The length of the rectangle is W + 6, where W is the width. Find the length.

P = 2L + 2W

48 = 2(W + 6) + 2W
48 = 4W + 12
36 = 4W
9 = W