The perimeterhof a rectangle is 48 inches. The rectangle is twice as long as it is wide. What is the length of the rectangle?
A: 8 inches
B: 16 inches
C: 32 inches
D: 24 inches