Hello Nessie,
Cf.
-
The solution to the problem of malingering employees is installing cctv in their homes.
-
The solution for astute employers is installing cctv in employees’ homes.
Thus:
a) the solution to a problem
b) the solution for the person with the problem
All the best,
MrP