Assignment:
Prove the following theorem:
If the circumcenter of a triangle lies on a median of that triangle, the triangle is isosceles. Write the given and prove parts based on the diagram.

Provide complete and step by step solution for the question and show calculations and use formulas.