2x+Y+3z=23...(1)
x+4y+5z=36...(2)
(2)*2-(1)
7Y+7Z=49
Y+Z=7
x+4y+5z=36=X+2Y+3Z+2(Y+Z)
X+2Y+3Z=36-2*7=22