The length of a rectangle is 2 units more than the width. The area of the rectangle is 48 units. What is the width, in units, of the rectangle?