Wow, so it is late and I can't think! How do I put this into scalar form: r=(6,0,1) + t(3,1,2)? thanks!

wait actually I don't think you can do that...but then I have a problem. I am supposed to find the distance of the point to the line or something like that of the point (1,-5,2) and the line r=(6,0,1) + t(3,1,2) but I thought you needed the scalar equation in order to find the distance because of the equation! Wow, I'm confused!

this can be done by projections of two vector.

recall that the scalar projection of vector b on vector a is a∙b/│a│

so let's find a point on the give line,
e.g. the point B(6,0,1) (I let t=0)

draw a perpendicular from your given point P(1,-5,2) to meet the line at Q
So PQB forms a righ-angled triangle with │vector BP│ the hypotenuse.

vector BP, lets call it vector b, is (5,5,-1) and vector a is (3,1,2), (from your given line)

so the projection of vector b on vector a
= (5,5,-1)∙(3,1,2)/│(3,1,2)│
= (15+5-2)/√(9+1+4)
= 18/√14

also │b│ = √(25+25+1) = √51

You now have 2 sides of a right-angled triangle, with your required distance as the third side.
I will let you finish the arithmetic.

One way to do it would be to write an equation for the distance from the point(1,-5,2) to any point on the line in terms of t, and then find the minimum distance by setting the derivatve with repsect to t equal to zero.

To put the equation r = (6, 0, 1) + t(3, 1, 2) into scalar form, we need to separate the x, y, and z components.

First, let's break down the given equation into its component form:

r = (6, 0, 1) + t(3, 1, 2)

This equation represents a line in three-dimensional space. The point (6, 0, 1) serves as the initial point, and the vector (3, 1, 2) determines the direction of the line. The parameter t allows us to find any point on this line by adjusting its distance from the initial point.

To convert this equation to scalar form, we can expand the equation into its individual components:

x = 6 + 3t
y = 0 + t
z = 1 + 2t

Now we have expressed each component of the point r in terms of t. This is the scalar form of the given equation. We can plug in any value of t to find the corresponding point on the line. For example, if t = 1, we get the point (9, 1, 3).