how do you solve by elimination?

6x+4y=6
6x+2y=12

Need to know so I can do other problems that are similar

subtract the 2nd from the 1st, and you eliminate the x's to get

2y = -6
and from there it's easy.