Correct. The information gives you two equations:

(A) (B)

Substitute for y in (B):

Simplify and multiply both sides by 2:

Add 14 and divide by 2: , so