A triangular garden with an area of 48 yards is planted outside of a school. If the garden has a height of 18 yards, what is the length of the base of the garden?