Flying with the wind, a small plane flew 240 mi in 2 h. Against the wind, the plane could fly only 210 mi in the same amount of time. Find the rate of the plane in calm air and the rate of the wind.