A more detailed explanatuon would be,
We know that the centre of a circle divides the diameter in half.
Now we take the other pt on the diameter as (a,b)
so, by the distance formula,
from here we get a = 1
and b = -11
hope that it was helpful, if it was pls do let me know