in the equation as we can say x= 2y-10.
so, substitute x=2y-10 everywhere then the x in 1240 gets cancelled with 2y-10 then solve the remaining you will get 4y-20+3y=1240
7y=1260
y=1260/7
y=180
then substitute the value of y everywhere
2x+3y=1240
2x+3(180)=1240
2x=1240-540
2x=700
x=350
DONE.