Answer:
x=2, y=12
STEP BY STEP-
Replace the Y in 2x+3y=40 for X+10, because y=x+10. You now have 2x+3(x+10)=40. Now multiply the X and the 10 by 3, so you have 2x+3x+30=40. Combine like terms to get 5x+30=40. Subtract the 30 on both sides so you get 5x=10. Divide by 5 and that gives you the solution for X (2). Then, plug 2 in for X in the equation y=x+10. You now have Y=2+10. Combine like terms and you get 12, so Y=12.
Sorry that I'm so bad at explaining things