Dunno if I'm doing correctly but here's a try :
First find how many mols of compound is equivalent to 15 grams. Let it be y mols.
y mols of compound has 2.36 * 1023 molecules of water.
1 mol of compound has 2.36/y * 1023 molecules of water.
Now 1 mol of compound has x mols of water.
x * 6.02 * 1023 molecules of water = 2.36/y * 1023
y is a known value. Find x.