The correct option is B 35
If you look at it closely, It's same as the case of putting 8 identical balls in 4 different boxes which can be written as:
a + b + c + d = 8, where a, b, c, d represent 4 different boxes or triangles.
Now, it's given that each has to be allotted at least one ball. Therefore, the equation can be further written as:
a + b + c + d = 4 ( after allotting 1 ball each)
Hence, number of ways = =7C3=35
Alternatively,
The ways of placing the balls would be 5, 1, 1, 1 (4!3!=4 ways);
4,2,1, 1 (4!2!=12 ways);
3, 3, 1, 1 (4!2!×2!=6 ways);
3, 2, 2, 1 (4!2!=12 ways) and 2, 2, 2, 2 (1 way).
Total number of ways = 4 + 12 + 6 + 12 + 1 = 35 ways.