TeX source:
\begin{aligned} 0 &=-250 x+1000 \\ 1000 &=250 x \\ 4 &=x \\ x &=4 \end{aligned}