The bellow equations are parametric representations of vectors where as:
x = -1+2t
y = 4+t
z = 1-t
are parametric representations of a vectorial line
and
4x+2y-2z-7=0
is a parametric representation of a plane...
How does that occur and what's the concept to determine whether the line and plane are parallel,perpendicular or otherwise is as below...
A line has the general vector representation:
r= (p1,p2,p3)+L (d1,d2,d3)
in your case the letter L above is the t in the equations thus
(d1,d2,d3)
=(2,1,-1) (its tiresome to get how I get this but if you knew a bit about vectors you'd definitely know how that came about!)...this is called the directional vector of the line and can be used to determine an answer in your question.
and (p1,p2,p3) is just a point on the line...
A plane has the general representation as:
ax+by+cz=k
where the constants (a,b,c)=(4,2,-2) are constants in the normal vector of the plane...
All you have to do is do the dot product of the two vectors such that if the dot product is zero then the vectors are perpendicular and if it is equal to the multiple of the magnitudes of the two vectors then it is parallel and if it is equal to a fraction of the product of the magnitudes then there is an angle theta other than 0 or 90 between the 2 vectors...
the dot product is (2,1,-1).(4,2,-2)=8+2+2=12
and product of magnitudes is sqrroot(4+1+1)*sqrroot(16+4+4)=sqrroot(144)=12
since dot product and product of magnitudes is the same then the line is PARALLEL to the plane!