A circle is inscribed in triangle ABC. M and N are the points of its tangency with the sides BC and CA, respectively. The segment AM intersects BN at point P and the inscribed circle at point Q. It is known that MP=a, PQ=b. Find AQ. geometrycircumcircleincircle