[(50+x)-40](500-10x)=8000
(10+x)(500-10x)=8000
10(10+x)(50-x)=8000
(10+x)(50-x)=800
500+40x-x²=800
-x²+40x-300=0
x²-40x+300=0
(x-10)(x-30)=0
x-10=0或x-30=0
x1=10,x2=30
[(50+x)-40](500-10x)=8000
(10+x)(500-10x)=8000
10(10+x)(50-x)=8000
(10+x)(50-x)=800
500+40x-x²=800
-x²+40x-300=0
x²-40x+300=0
(x-10)(x-30)=0
x-10=0或x-30=0
x1=10,x2=30