The compound not soluble in water is:

MgCl2

NaCl

KBr

C6H6