These people are trying to beat the hot weather.
The people are trying to escape the heat.
These people are trying to beat the hot weather is another way of saying that they're are trying to escape the heat.
(-x)
(-x)