Find an ODE of the form where for which the given function is a solution, or else explain why no such ODE exists.

The first ones I have been able to figure out by reverse-engineering the solving process...

e.g.

However, I am having trouble with these two:

Any insight would be greatly appreciated!