@Mike_bb, I’m coming into this thread rather late but would like to add some random thoughts which might help.
It looks like you are dealing with an ideal gas made of
identical particles (i.e. with equal masses).
(Note that if you have a mixture of different gases, e.g. hydrogen and oxygen, then at a given temperature, the average speed of the hydrogen molecules is much more than the average speed of the oxygen molecules because of their different masses; this would complicate things.)
I’m guessing you are looking at something like the derivation of gas pressure at an introductory level, e.g. to derive ##PV = \frac 13 Nm c_{rms}^2## or similar.
It is important to distinguish between speed (a scalar) and velocity (a vector). We should use the words ‘speed’ and ‘velocity’ carefully – they are not interchangeable.
For a stationary (zero momentum) container of gas, the average particle velocity is zero (or there would be net momentum). This applies to components of momentum in a given direction. And note that we don’t need equal and opposite pairs, e.g. the average of 1,2,3 and -6 is zero.
The kinetic energy of a particle (of mass ##m## and speed ##c##) is ## \frac 12 mc^2##. If you want the
average kinetic energy of the particles you need the average value of speed-squared which we can write as <c^2>; this is is called the mean square speed. Its square-root is called the root mean square speed and is given a symbol such as as ##c_{rms}##. So ##c_{rms} = \sqrt {<c^2>}##. The value of ##c_{rms}## is similar to (but not the same as) the average speed.
The randomly moving gas particles have kinetic energy. The
equipartition theorem in this situation tells us that:
##\frac 13## of the total kinetic energy is due to components of motion in the x-direction;
##\frac 13## of the total kinetic energy is due to components of motion in the y-direction;
##\frac 13## of the total kinetic energy is due to components of motion in the z-direction.
Since a particle’s kinetic energy is ## \frac 12 mc^2## this leads to:
##\frac 13 c_{rms}^2 = <c_x^2> = <c_y^2> = <c_z^2>##
where, for example, ##<c_x^2>## is the average of the squares of the x-components of velocity (always positive because of the squaring).
Plenty to think about!