the average speed of gas molecules increases.