Correct. The information gives you two equations:
and
Multiply the second equation by 2:
Add this to : , so
Substitute into the third equation: , so