A contractor has 48 meters of fencing to use as the perimeter of a rectangular garden. The length of one side of the garden is represented by x, and the area of the garden is 108 square meters. Determine, algebraically, the dimensions of the garden in meters