3(x+1)-2(y-1)=10
3x+3-2y+2=10
3x-2y=5·······a
2(x-1)+y=6
2x-2+y=6
2x+y=8········b
2b=4x+2y=16
a+2b=7x=21
x=3
y=2