Molarity equals moles of compound divided by a kilogram of solids. Now we're given kilogram of solids, so we know that we also know molality. Now let's change our moles of compound formula to something else. Let's see, how else can we represent the moles of compound? Now, whenever you want to find the moles of compound, we basically take our amount in grams divided by the molecular weight of that same compound and we get our moles. So another way of finding or representing moles of compound is simply grams of compound divided by molecular weight.