a) xz+yz=z(x+y)=15*23=345
b) xz-yz=z(x-y)=10*12=120
c)ab+ac=420 => a(b+c)=420 => a*14=420=> a=30
d)ab-ac=135 => a(b-c)=135 => 9(b-c)=135 => b-c=15
e) ab+ac+a=165 => a(b+c+1)=165 => a(10+1)=165=> 11a=165=>a=15
f) a+2b+c=51|*2 |=> 2a+4b+2c=102
2a+b+2c=42 | 2a+b+2c=42
---------------------- -
3b=60=>b=20
a+2*20+c=51=>a+c=51-40=11
a+b+c=11+20=32