Differentiating the second equation, we get

This is a second order linear constant coefficient nonhomogeneous ODE. Solve as you normally would for .

Differentiating the first function, we have

This is another second order linear constant coefficient nonhomogeneous ODE. Solve as you normally would for .