weight of NaCl:180x5%=9(g)
(9+n)/(180+n)=10%
n=10(g)
9/(180-m)=10%
m=90(g)
(9+20%y)/(180+y)=10%
y=90(g)