With a question like this, where you are asked to verify that a proposed solution is in fact a solution you just need to show that the given solution satisfies the ODE.

So differentiate to get:

which we see is only a solution if (that is the arbitary constant is in the wrong place)

The correct solution is:

CB