A car starts from $A$ for $B$ travelling $20 \mathrm{~km}$ an hour. $1 \frac{1}{2}$ hours later another car starts from $A$ and travelling at the rate of $30 \mathrm{~km}$ an hour reaches $B$ $2 \frac{1}{2}$ hours before the first car. Find the distance from $A$ to $B$.
(a) $280 \mathrm{~km}$
(b) $260 \mathrm{~km}$
(c) $240 \mathrm{~km}$
(d) None of these