You can put this solution on YOUR website! What does radius mean? The distance from the center of a circle to every point on the circle.
What does diameter mean? A line segment that connects two points on a circle and passes through the center of the circle.
So, the end points of a diameter are both on the circle and they are on the opposite each other on the circle. (directly across the circle).
Thus
d = 2r