$y'=2-\frac{3}{x}y+\frac{2}{x^2}y^2$ (Riccati) $y'=2-\frac{3}{x}y+\frac{2}{x^2}y^2$ (Riccati)
(a) Find the solutions.
(b) $y(x_0)=y_0$, prove two cases:
$$0<y_0<x_0 \implies \text{solution's domain is} [x_0,\infty) $$
$$0<x_0<y_0 \implies \text{solution's domain is} [x_0,x_0+\alpha) , \alpha \in \mathbb {R}.$$
I will be grateful for help in $(b)$.
My solution for (a):
$y_1(x)=x$
Denote $y=x+z$
$$(x+z)'=2-\frac{3}{x}(x+z)+\frac{2}{x^2}(x+z)^2$$
$$1+z'=-1-\frac{3z}{x}+\frac{2}{x^2}(x^2+2xz+z^2)$$
$$z'=\frac{z}{x}+\frac{2z^2}{x^2}$$
This is a Bernoulli differential Equation.
Denote $u=z^{-1} \implies -\frac{z'}{z^2} \implies z'=-u'z^2$
Then,
$$u'=\frac{u}{x}-\frac{2}{x^2}$$
Integration factor is $\mu=x$
$$\int(xu)'=\int-\frac{2}{x} \implies xu=-2\ln|x|+c \implies u=\frac{-2\ln|x|+c}{x} \implies z=\frac{x}{-2\ln|x|+c}$$
The solution is $y=x+\frac{x}{-2\ln|x|+c}$
Is my solution correct ?
Thanks !

$$z'=\frac{z}{x}+\frac{2z^2}{x^2}$$
$$\dfrac {z'}{z^2}=\frac{1}{zx}+\frac{2}{x^2}$$
$$-\left(\dfrac {1}{z}\right)'=\frac{1}{zx}+\frac{2}{x^2}$$
Looks like there is a little sign mistake. But all what you did looks really good.
$$u'=\color{red}{-\frac{u}{x}}-\frac{2}{x^2}$$
$$(ux)'=-\frac{2}{x}$$
