Given. Three independent first-order-reducible ODEs in $x$: (a) a constant-coefficient second-order equation missing $y$, forced by $\sin2x$; (b) a separable (Bernoulli, $n=2$) equation; (c) a first-order linear equation.
Find. The general solution $y(x)$ in each case.
Approach. (a) Solve the homogeneous equation via its characteristic roots, then use undetermined coefficients for the sinusoidal forcing. (b) Separate variables directly. (c) Divide through to standard linear form and apply an integrating factor.
(a) Homogeneous solution. The characteristic equation $r^2+2r=0$ factors as $r(r+2)=0$, giving $r=0,-2$:
$$y_h=C_1+C_2e^{-2x}.$$
(a) Particular solution. Try $y_p=A\cos2x+B\sin2x$. Then $y_p''+2y_p'=(-4A+4B)\cos2x+(-4A-4B)\sin2x$. Matching to $\sin2x$: $-4A+4B=0$ and $-4A-4B=1$, so $A=B=-\tfrac18$:
$$y_p=-\tfrac18\cos2x-\tfrac18\sin2x.$$
$$y(x)=\boxed{C_1+C_2e^{-2x}-\tfrac18\cos2x-\tfrac18\sin2x}$$
(b) Separate variables. $y'=-xy^2\Rightarrow\dfrac{dy}{y^2}=-x\,dx\Rightarrow-\dfrac1y=-\dfrac{x^2}{2}+C_0$:
$$y(x)=\boxed{\dfrac{2}{x^2+C}}\quad(\text{plus the singular solution }y\equiv0).$$
(c) Standard linear form and integrating factor. Divide by $2x$: $y'+\dfrac{1}{2x}y=x^{1/2}$. The integrating factor is $\mu=e^{\int\frac{1}{2x}dx}=x^{1/2}$, and $\big(x^{1/2}y\big)'=x^{1/2}\cdot x^{1/2}=x$.