The points and are three vertices of parallelogram ABCD.
Let coordinates of D be (x, y, z)
Direction vector along AB is
Equation of line AB, is given by
Direction vector along BC is
Equation of a line BC, is given by
Since ABCD is a parallelogram AC and BD bisect each other
\therefore \left,[ \dfrac{4 + 1}{2}, \dfrac{5 + 2}{2}, \dfrac{10 - 1}{2} \right ] =,\left [ \dfrac{2 + x}{2}, \dfrac{3 + y}{2}, \dfrac{4 + z}{2} \right ]
Coordinates of D are