A rectangle's length is 3 times its width. If the perimeter is 48 units, what is the length of the rectangle?