how do I set up a problem for the solubility product(Ksp) of a salt given the osmotic pressure at 781atm?

You might do better to post the problem.