The area of a rug is 36 square feet. The length of the rug is 5 feet longer than the width. What is the width of the rug?