Solve the following systems of equations:
3x−y+711+2=10
2y+x+117=10
Solve the following pair of equations by elimination method.