7. a \sqrt{\frac{1}{3}}, \frac{1}{2}.
7. Find the distance between the intersecting diagonals of two adjacent faces of a cube with edge $a$. In what ratio does the common perpendicular to these diagonals divide each of them?