(x + 2)(x - 3) = x^2 - x - 6 (this works so far) (x + 0.5)^2 - 6.25 = x^2 + x + 0.25 - 6.25 = x^2 + x - 6 (this is not equal to x^2 - x - 6 so Line 1 is not an answer)
Now for line 2:
(x + 1)(x - 2) = x^2 - x - 2 (this works so far) (x - 0.5)^2 - 2.25 = x^2 - x + 0.25 - 2.25 = x^2 - x - 2 (this also works) Therefor Line 2 only is the answer