(d)
The solubility of a compound mainly depend upon its hydration energy. If the hydration energy of a compound is greater than from its lattice enthalpy, then its is soluble in water. Thus, for solubility
Hydration enthalpy $>$ lattice enthalpy
For compounds P and R hydration enthalpy exceeds the lattice enthalpy, so they are soluble in water.