A rectangular garden has a length that is twice its width. If the width of the garden is represented by the variable $w$, what is the area of the garden in terms of $w$? Also, if the garden is to be enclosed by a fence and the total length of the fence available is 48 meters, what would be the length of each side of the garden?
To solve this problem, first, determine the area of the garden and then deduce the dimensions given the perimeter constraint of the fencing.