The relationship between the velocity (U) of gas molecules and their relative molecular mass (M)…