My first instinct was to substitute into the ODE and show it satisfies the ODE. But integrating by parts and differentiating with respect to x shows that Unless I have made an error somewhere, that will leave only the trivial solution. Is there perhaps a typo in the question?