There is a 12-ft fence on one side of a rectangular garden. The gardener has 44 ft of fencing to the enclose the other three sides. What is the length of the gardens longer dimension?