if you differentiate the DE, you get [g + g''][g' + 2sin(t + a)] = 0
then solve for g from there, plug it into the original equation to determine the free coefficients, and those will be the only solutions, others will either fail the original equation of the new one). Ofcourse, this relies on...