If the rate of evaporation is y, and the rate of condensation is x, then,…