you'll need to create two equations and have a 'system of equations' then use direct substitution to turn the equation into one. Whichever equation is easiest to solve for x or y. Solve that one for x or y and plug the result in for the variable in the other equation. Then you will have an equation with only 1 unknown.