In a tetrahedron the lengths of and are and respectively. The distance between the midpoints of and of is The line is perpendicular to and The volume of can be written as where and are positive integers, and is not divisible by the square of a prime number. What is the value of ?