Step-by-step explanation
The equation of a circle is given by

Where a and b are the centres of the circle
In our case we have

R is the radius of the circle
We have the diameter as 6
Then the radius will be 3
Also, the value of r =3
So we can obtain the equation


Simplifying further

The answer is