This thread explains the derivation of Average velocity
https://www.physicsforums.com/threads/formula-for-average-of-two-velocities-on-same-distance.230613/
I searched for basic GATE aptitude formula derivations and found many useful explanations in this forum. This thread can be used to share such explanations.