There are 20 machines, and each day exactly 2 different machines work. No pair works more than once. So first, we count how many unique pairs of 2 machines can be formed from 20 machines.
Number of unique pairs = 20 choose 2 = 20 × 19 / 2 = 190 pairs
So for 190 days, 2 machines work each day, and each unique pair works once.
After that, all 20 machines work together for 6 more days.
Let the total work required be W.
Let the work done by machine i per day be Ri.
Let the total rate of all machines together be R = R1 + R2 + ... + R20
During the 190 days of unique pairs, each pair of machines i and j works once, so work done = Ri + Rj
So total work during 190 days = sum over all unique pairs of Ri + Rj
This total sum is equal to (20 - 1) times the total of all rates.
Because each machine appears in 19 different pairs, its rate is added 19 times.
So total work during pair days = 19 × (R1 + R2 + ... + R20) = 19R
Then, during the 6 days when all 20 machines work together, they work at rate R each day
So total work in those 6 days = 6R
So total work done = 19R + 6R = 25R
If all 20 machines had worked together from the beginning, they would do R work per day
So total work W = 25R
Total time = W / R = 25R / R = 25 days
Answer is B
I personally think this should be higher rated in terms of difficulty.