For any 3 non-colinear points in 3d space (A, B, and Z) there should exist a line/vector M that connects Z to AB where AZM = MZB.

I am trying to find a corresponding M for a model with 5 points where none of the points are necessarily coplanar.

What would M be here? Does M have to exist? Under what circumstances would it exist?