You can put this solution on YOUR website! formula for circle is:
where and are coordinates of the center, and is the radius
you are given: center at (, ) and diameter
(, )=(, ); so, and and we know that ..=>..
now, when you have , , and , plug it in formula