In this case, for the described situation, we infer that calcium reacts with fluoride ions to yield insoluble calcium fluoride as shown below:
Which is typically an equilibrium reaction, since calcium fluoride is able to come back to the ions. In such a way, since the maximum amount is computed via stoichiometry, we can see a 1:2 mole ratio between the ions, therefore, the required maximum amount of fluoride ions in the "hard" water (assuming no other ions) turns out: