In the triangle , side is equal to , and the angle at vertex is twice the angle at vertex . A tangent to the circumcircle of the triangle is drawn through vertex . The distances from points and to this tangent are in the ratio .
a) Find the ratio of the distances from point to the lines and .
b) Find the distance from point to the line and the radius of the circumcircle .