Work = speed x time
(8 Teacher + 10 Children)x time =(4 Teacher + 16 Children)x time
Here both times are same therefore they cancel out
We get a ratio of T/C = 3/2
Now
(1T + 3C)x18 = 9/20 work
Remaining work = 11/20 work
And
C = 1/ (9x20)
So
(1T + 3C + xC)*22 = 11/20
Substituting T=3C/2
(9C/2 + xC) x 22 = 11/20
Substituting C = 1/(9x20)
X=0
Therefore 0 children needed to keep the deadline.