Let P=(3,1,4), Q=(1,2,5), R=(0,0,1) and S=(4,3,6). Let A be the line passing through P and Q, and let B be the line passing through R and S.
a) What is the distance between R and A?
b) What is the distance between A and B?
So I tried to use the distance between points formula but it did not yield the correct answer. Also, how exactly would I measure the distance between a point and a line. What point on the line would I be measuring against?