Let the four numbers be W, X, Y and Z and their total be T. Then we have
(W + X + Y)/Z = (T - Z)/Z