Generally, $z\bar z +\bar a z + a\bar z+b=0$ represents a circle
The lack of the term $z\bar z$ confirms that it is a straight line.
But we still have the term b, which is a real number and isn’t necessarily zero, then how do we prove that it passes though the origin?
The problem is slightly misstated since the word "variable" is missing. It should be like this
Write $\,a = u+vi\,$ and $\,z = x+yi.\,$ Then $$ a\bar z+\bar a z = (ux+vy) + (vx-uy)i $$ and if this number is equal to a real number $\,b\,$ then $\,vx-uy=0,\,$ which is the equation of a line through the origin.