See attachment for math work and answer.
Answer: y is 40 x is 60
Step-by-step explanation:
Three times the result of a number plus a number equals two times a number minus a number.
or
Three times the result of a variable plus a variable equals two times a variable minus a variable.