$$y=\frac{3}{2}x-2$$
$$y^2x+a=x^2+y^2$$
This is what I have so far. Tangent and curve are intersecting in $(0,-2)$ so
$$4*0+a=0+4 \Rightarrow a=4$$
I have to check $y'(0)=\frac{3}{2}$. I don't know how to derive curve because i get $y$ and $y'$. And if i don't get $y'(0)=\frac{3}{2}$, then $a$ doesn't exist?
Hint: Differentiating the second equation with respect to $x$, you get $$y^2+2xyy'=2x+2yy'.$$ But the slope of $y=3x/2-2$ is $3/2$, so the value of $y'$ at the point of intersection should be $y'=3/2$ as well. Plugging this back in gives $$y^2+3xy=2x+3y,$$ and you want to find the intersection of this with $y=3x/2-2$. The rest is algebra.
For geometric clarity, here's Mathematica plots of the three curves discussed for the cases indicated by Parcly Taxel's answer:
The blue curve is the line $y=3x/2-2$, the orange curve is the intersecting curve (with $a=3$ in the first plot and $a=\frac{1684}{2187}$ in the second), and the green curve is the equation $y^2+3xy=2x+3y$. The point is that, for these values of $a$, all three curves intersect at a common point, and the blue and orange curves are tangent at this point.