A rectangular garden is 6 feet by 4 feet. There is a sidewalk of uniform width around the garden. The area of the sidewalk and the garden together is 48 ft2. What is the width of the sidewalk?