John R. answered 03/26/19
Calculus, Probability, and Stat Tutor, Math Degree, 20+ years Exp.
dT(t)/dt = k * (T-T_amb), where T(t) is the temperature of the coffee at time t, and T_amb is the ambient temperature, which is generally presumed to be constant, though it could be a function of time also.
"decrease at a rate" means derivative of the value of T.
"proportional to the difference" means a constant times the difference. k is the constant of proportionality in the above ODE.