Answer:
water and liquid HF are polar solvents, hence they disslove polar solutes like ionic salts
Waxes and Oil however are non polar solvents, hence they dissolve non polar solutes.
As a general law; Polar solvent dissolves polar solute. Non polar solvent dissolves non polar solutes