2x+2y=36
y+1=x+3
y+1=x+3 |-1
y=x+2
2x+2(x+2)=36
2x+2x+4=36 |-4
4x=32 |:4
x=8
2*8+2y=36
16+2y=36 |-16
2y=20 |:2
y=10