A rectangle’s length is one greater than its width and its area is 30 in2. What are the dimensions of the rectangle?

w(w+1) = 30

w^2 + w - 30 = 0
(w-5)(w+6) = 0
w = 5
w+1 = 6