First, the characteristic solution to the homogeneous part:

has characteristic equation

with roots

. So the characteristic solution has the form

Now for the nonhomogeneous part. Using the method of undetermined coefficients, we can try a particular solution of the form

which has derivatives


Substituting

and its derivatives into the equation gives


which means

so that the particular solution must be

Now the general solution will be

