The correct option is D x−21=y−1−1=z+12
Given line, x−31=y−2−1=z+12
The direction ratios of the given line are 1,−1,2
We know that parallel lines have same direction ratios.
∴ Equation of line passing through the point (2,1,−1) and having direction ratios 1,−1,2 is
x−21=y−1−1=z+12