how do i do elimination

I don’t understand how you have to get one of the variables by itself and plugging the answer back into the equation