The area of a rectangle is 21 yd^2, and the length of the rectangle is 1 yd less than twice the width. Find the dimensions of the rectangle.