Correct. The information gives you two equations:

(A) (B)

Substitute for y in (B):

Simplify and multiply both sides by 2:

Subtract 10 and divide by 2: , so