Use the slider to vary [math]\lambda[/math] so the perpendicular vector at P intersects the other line then use the check boxed to show the construction of a right-angled triangle that will show the distance.
Information: Skew lines: finding the distance (cross product)