y=-3x+10 2x=0-2y
What you can do is substitute the first equation into the second, that is substitute y.