For points X (1,3,5) and (2,-4,6) find:

a) the coordinates of the point P that divides the segment XY (internally) in the ratio 3:2.

b) the coordinates of the point R that divides the segment XY (externally) in the ratio -2:5.