There is a formula in which exponential random variable is modelized to depict waiting time at telephone booths .
f(x) = λe ^ (-λx) . This formula has been used in the question.
To obtain probability of waiting we have a formula :
P(T>t ) = e^(-λt) and P(a<=T<b)=e^(-λa)-e^(-λb)
In the question λ=1/10 and t=10 , a=10 , b=20 . Substituting the value the answer has been obtained.