C17H35COONa+HCl=C17H35COOH+NaCl
2C17H35COONa+MgCl2=(C17H35COO)2Mg(s)+2NaCl
2C17H35COONa+CaCl2=(C17H35COO)2Ca(s)+2NaCl