The base of a pyramid is an equilateral triangle with a side length of The edge is perpendicular to the base and has length Let and be the midpoints of and respectively. The (shortest) distance between the skew lines and can be written as where and are coprime positive integers. Find