When it comes to second order differential equations, you have to find the
Complementary Function (

) and often times the
Particular Solution (

) and the sum of these two would give the
General Solution.Now, for y'' - 3y' = sin2x,

= A + Be³ˣ

=

sin2x +

cos2x
Since General Solution =

+

then General Solution is y = A + Be³ˣ

sin2x +

cos2x
to remove the fraction you can multiply through by 26
⇒ General Solution is also 26y = 26A + 26Be³ˣ - 2sin2x + 3cos2x
Attached below is a picture that shows you exactly how I arrived at my answer.