800 - 20x + 80x - 2x^2 = 1200
-2x^2 + 60x - 400 = 0
x^2 - 30x + 200 = 0
(x - 10)(x - 20)=0
所以,x1 = 10,x2 = 20