Your question addresses some very interesting physics and it is no shame to find them confusing, most physicists ponder these things to the ends of their careers. An in depth answer would fill a few books, but I can touch on a couple of aspects here. It sounds like you are focusing on kinetic theory of gases, but some fundamentals may be useful.
The kinetic theory of gases relies on the notion (particularly for so-called ideal gases) that molecules interact only through binary collisions (i.e. no accounting for longer range interactions or collisions of more than 2 molecules at a time) and the collisions are elastic. Also assumed is that the molecules are very small with respect to the physical dimensions containing them, and there are very many molecules, so that statistical methods can be used with confidence. Although the assumptions sound very restrictive, they give a good approximation for many useful applications, particularly relatively dilute gases. A result of the assumptions is that the average translational kinetic energy of molecules in random motion in the gas is directly proportional to the absolute temperature of the gas. For an ideal gas that works out to 1/2 m < v2 > = 3/2 kT, where the bracket means average over all the molecules in the gas and k is the Boltzmann constant. This also serves as one of the two definitions of temperature, called the kinetic definition. (The other definition is from the flow of heat between two macroscopic bodies and is called the thermodynamic definition.) Maxwell and Boltzmann worked out the statistical distribution of the velocities of ideal gas molecules in 3D, which now bears their name and from which all of the quantities you mentioned in the first part of your question can be obtained by straightforward calculations. You can look that up in many places (Wiki has a nice page on the Maxwell-Boltzmann distribution) but the key is the set of assumptions that define an ideal gas. Real gases with internal structures or very dense gases, or gases not in equilibrium with surroundings all require special treatment, but that is beyond what I think you are asking about.
Your second question seems a bit strange and it may be because you are immersed in kinetic gas theory. But the theory is based on the Newtonian notion of collisions of point particles, and in particular elastic collisions. In general Newtonian mechanics, speed and energy are not always conserved, you have to be more specific. The conserved quantities are momentum (mv in Newtonian physics) and kinetic energy, 1/2 mv2 (only if the collision is elastic, in fact conservation of kinetic energy (KE) defines an elastic collision). Inelastic collisions do not conserve kinetic energy, but do conserve momentum. In an inelastic collision, some kinetic energy is converted to other forms of energy (heat, potential energy, etc) and the total energy is still conserved, just not the KE. The classic undergraduate introductory problem to inelastic collisions is two equal mass colliding rail cars, one at rest, the other moving, and when the moving car hits the stationary one, they stick together and continue on with the same momentum, but with half of the original velocity. KE is not conserved but momentum is. To get the conservation of total energy you have to figure out how much energy went into the "sticking" which may involve springs or heating, etc.
So be careful with collisions and which quantities are conserved. Even in relativity momentum and energy are conserved but with an added wrinkle that energy and mass can interchange. The momentum represents the conservation in the spatial dimensions and the energy represents the conservation in the time dimension, but that is a whole other fun discussion. Just be aware that very fast moving particles (say half the speed of light or so) will have collision results that are very different from what would be predicted with Newtonian mechanics. We could talk about that but it would be a whole other fun conversation......