A rectangle has length 6 cm more than its width and area 40 cm2. The equation x2+6x−40=0 is obtained for the width x (in cm). The solutions are x=4 and x=−10. Which option correctly identifies the width of the rectangle?
(a) −10 cm
(b) 4 cm
(c) 10 cm
(d) 5 cm