Inhomogeneous equation:
First solve the homogeneous equation, then guess a particular solution with a few undetermined coefficients:
The general solution is any particular solution plus the general solution of the homogeneous equation.