A rectangular garden is designed such that its length is three times its width. If the perimeter of the garden is 48 feet, what is the width of the garden in feet?
Recall that the perimeter P of a rectangle is given by the formula:
$$P = 2L + 2W$$
where L is the length and W is the width.