X+324-432=560
x+324=560+432
x+324=992
x=992-324
x=668
580-X-120=93
580-x=93+120
580-x=213
x=580-213
x=367
170+236+X=823
406+x=823
x=823-406
x=417
X+112-65=(118+365)-9
x+112-65=474
x+112=474+65
x+112=539
x=539-112
x=427
(136+93)-X=1000-(736+200)
229-x=1000-936
229-x=64
x=229-64
x=165