In a convex quadrilateral , is not parallel to . Circle passes through and and is tangent to side at , while circle passes through and and is tangent to side at . The circles and intersect at points and . Prove that bisects segment if and only if is parallel to .