Therefore the direction vector of the second line is
v2=(a′,c′,1).
For two lines in space to be perpendicular, their direction vectors must be perpendicular. The condition for perpendicularity of two vectors is that their dot product is zero. Explicitly, for vectors u=(u1,u2,u3) and v=(v1,v2,v3) we use the formula
u⋅v=u1v1+u2v2+u3v3.
Applying this to v1=(a,1,c) and v2=(a′,c′,1), we compute
v1⋅v2=aa′+1c′+c1=aa′+c′+c.
Setting this equal to zero for perpendicularity gives
aa′+c+c′=0.
This is exactly the relation stated in Option B.
Hence, the correct answer is Option B.
Tagged Foot of perpendicular, image and distance from a line. Machine-assigned, so read it as a strong shortlist rather than a verdict.