A rectangular garden has a length of 12 feet. You need 36 feet of fencing to enclose the garden. What is the width of the garden.