Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2019/iii/paper-211/6/c/solution

The terms independent of in the substituted PDE satisfy
so
Integrating backward from yields
Thus the requested constant is

New to topics? Read the docs here!