The equation can be listed according to the meaning of the question: y = (50+x) * (500-10x)-40 * (500-10x) =-x2+40x+500. From (4ac-b 2)/4a = 900 yuan.