The gist of something means: a general idea of its essential contents, the main substance of what has been written.
So if you 'get the gist' of something, you have grasped the main...
The mean distance is the same as the mean of a set of numbers,but this time, instead of them just being numbers, they're lengths. You just simply add up all the numbers and divide the total length,...