Sphere’s Equation

What is the equation for a sphere with a diameter of 6, and a center at (-1, 0, 1)?

Hint
The standard form of a sphere equation is:
$$$(x-h)^{2}+(y-k)^{2}+(z-m)^{2}=r^{2}$$$
Hint 2
In the standard form of a sphere equation, its center is at $$(h, k, m)$$ and $$r$$ is the radius.
The standard form of a sphere equation is:
$$$(x-h)^{2}+(y-k)^{2}+(z-m)^{2}=r^{2}$$$
where the sphere’s center is at $$(h, k, m)$$ and $$r$$ is the radius.

Thus,
$$$(x-(-1))^{2}+(y-0)^{2}+(z-1)^{2}=(\frac{6}{2})^{2}$$$
$$$(x+1)^{2}+(y-0)^{2}+(z-1)^{2}=(3)^{2}=9$$$
$$$(x+1)^{2}+(y-0)^{2}+(z-1)^{2}=9$$$