(a)
The intersection points of line and circle are $A\left( - \frac{1}{2},\frac{1}{2} \right)$ and $B( - 1,\ 0)$
These are the end points of a diameter
$\therefore$ The equation of circle is
$\left( x + \frac{1}{2} \right)(x + 1) + \left( y - \frac{1}{2} \right)(y - 0) = 0$
$\Rightarrow \ \ \ (2x + 1)(x + 1) + (2y - 1)y = 0$
$\Rightarrow \ \ 2\left( x^{2} + y^{2} \right) + 3x - y + 1 = 0$