NOTE that you could have solved for y:
y = 2000- x
and arrived at the same answer.
You could have also solved for x in the second equation
x = ( 14000 - 10y) / 5 = 2800 - 2y
or y
y = ( 14000 - 5x) / 10 = 1400 - (x/2)
Using these values in the other equation would probably be more complicated, and hence be more likely to lead to errors.
The use of substitution requires the user to be smart and seek the simplest path to the solution. It's really an art form.