Squares and are constructed on the sides of acute-angled triangle , outside of the triangle. Line intersects line segment at , while line intersects line segment at . Point , lying inside triangle , is an intersection of the circumcircles of triangles and . Point is the midpoint of . Prove that angle .