The amount of time it takes an ice cube to melt varies inversely to the air temperature. At 30 degrees Celsius, the ice will melt in 10 minutes. How long will it take the ice to melt if the temperature is increase to 40 degrees Celsius?