The correct answer is 122
The section formula is used to determine the coordinates of the points which divide the line segment at a specific ratio. In two dimensional, coordinate geometry has only two axes such as x-axis and y-axis. Similarly, there are three directions in a three-dimensional plane x-axis, y-axis and z-axis.
The three-dimensional plane is written as,
P(x,y,z)
Section Formula (Internally): When an any point {‘R(x,y,z)’} which divides the line segment joining the any two distinct points {P(x1,y1,z1),Q(x2,y2,z2)} in the specific ratio (m:n) internally then the coordinates of the point is given by,
R(x,y,z) = (mx2 +n x1 / ( m + n) my2 +n y1 / ( m + n) , mz2 +n z1 / ( m + n)).
Section Formula (Externally): When an any point {‘R(x,y,z)’} which divides the line segment joining the any two distinct points {P(x1,y1,z1),Q(x2,y2,z2)} in the specific ratio (m:n) externally (replace n with -n) then the coordinates of the given point is given by,
R(x,y,z) = {mx2 -n x1 / ( m - n) ,my2 -n y1 / ( m - n) , mz2 -n z1 / ( m - n)}
Midpoint Formula: When any point R(x,y,z) cuts the line segment {P(x1,y1,z1), Q(x2,y2,z2)} in the ratio of 1:1(i.e. m=n=1), then R is the mid point. The coordinates of the mid point R are given by,
R(x,y,z) = (x2 +x1 /2 , y2 +y1 /2 , z2 +z1 /2)