General question regarding stacking

Hi everyone, I have a very simple and general question about the stacking approach:
Kang et al., 2017 compute the average displacement velocity as follows:

while Zhang et al 2021 compute it in this way:

Are the two formula equivalent? Why are ΔT at the denominator squared and summed ?

Thanks a lot for your help in clarifying this point.