These problems easily confuse me but here's my attempt....
surface area of N's donut holes = 4 pi * (6 mm)2 = 144pi mm2
surface area of T's donut holes = 4 pi * (8 mm)2 = 256pi mm2
surface area of A's donut holes = 4 pi * (10 mm)2 = 400pi mm2
When N finishes 1 donut, T will have finished 144256 donuts and A will have finished 144400 donuts.
When N finishes 1 donut, T will have finished 916 donuts and A will have finished 925 donuts.
When N finishes 2 donuts, T will have finished 2*916 donuts and A will have finished 2*925 donuts.
When N finishes 2 donuts, T will have finished 98 donuts and A will have finished 1825 donuts.
When N finishes x donuts, T will have finished 9x16 donuts and A will have finished 9x25 donuts.
We need the smallest integer x such that 9x16 is an integer and 9x25 is an integer.
For a fraction to be an integer, all the factors in the denominator must be in the numerator.
For 9x/16 to be an integer, 2*2*2*2 needs to be factors of x .
For 9x/25 to be an integer, 5*5 needs to be factors of x .
So x must be 2*2*2*2*5*5 = 400
When Niraek finishes 400 donut holes, Theo will have finished 400*9/16 = 225 donut holes, and Akshaj will have finished 400*9/25 = 144 donut holes.