The force on the mass due to each of the masses will be have a vertical component of
This force must be normal to the surface of the triangle, so the horizontal component is
The force of friction is
Setting this equal to (1) and solving for gives
Therefore, answer (D) is correct.