First, you have to find a basis of functions for the homogeneous equation:
$$y''-2y'-3y=0$$
You take the polynomial $$p(t)=t^2-2t-3$$ which comes from substituting $y$ by $t^0$, $y'$ by $t^1$, $y''$ by $t^2$ (and so on) in your equation. Its roots are $t_1=-1$ and $t_2=3$, both real so we have that $e^{t_1x}$ and $e^{t_2x}$ are solutions of the equation.
(If you obtain a single root $t_1$, you can take $e^{t_1x}$ and $xe^{t_1x}$).
So that would be
$$y_1(x)=e^{-x} \qquad y_2(x)=e^{3x}$$
You only need a particular solution of the complete equation, that is,
a solution $y_p$ of
$$y''-2y'-3y=4\sin(2x)$$
and all the solutions of your equation would be
$$c_1y_1(x)+c_2y(2)+y_p(x), \qquad c_1, c_2\in\mathbb R$$
Now, note that $4\sin(2x)$ is $Im(4e^{2xi})$, so you will need to find a particular solution of
$$y''-2y'-3y=4e^{2xi}$$
and take the imaginary part.