The given solution is
$$y=c_{1} \sin 2 x+c_{2} \cos 2 x+2 e^{x}$$
The first derivative of y is given by
$$y^{\prime}=2c_{1} \cos 2 x-2c_{2} \sin 2 x+2 e^{x}$$
The second derivative of y is given by
$$y^{\prime \prime}=-4c_{1} \sin 2 x-4c_{2} \cos 2 x+2 e^{x}$$
Show more…