y=6, x=16
you create a system with the two variables and manipulate an equation so that you can substitute in the other to make it a single-variable equation. you then solve for that variable by isolating it and you can solve for the second variable afterwards. hope this helps!