Rearrange the first equation to get and now substitute that into the second equation for x to yield

now you have an equation of one variable which you should be able to solve

Once you get your answer for y, plug the value of y into either of the equations and solve for x