Inversely proportional to means that we expect the format to be F = k/(something), where k is a constant. Since it's inversely proportional to the distance squared, then we know that:
F = k/d2
where k is some constant. This compares well with the complete gravitational formula, which is:
F = Gm1m2/d2
where G is the universal gravitational constant and m1, m2 are the two masses.