Sam has a rectangular rug with an area of 50 square feet . The rug is 5 feet longer than it is wide.

What is the width of the rug?