RMX compounds formed by alkaline earths, europium and ytterbium III. Ternary phases with M Mg, Hg and X Si, Ge, Sn, Pb