The solution to an inhomogenous linear equation is the sum of the general solution to the homogenous equation plus a particular solution. Its not easy in general to find a particular solution; most people just guess and check I think. In your case, try guessing and solve for b and c. Then the general solution will be .