This is a very simple example of what is known as "code tracing."
Trace it, following the logic. First, $carsSold = 8.
It checks the first conditional, and since 8 < 10, $bonus = 0.00;
It checks the second conditional, and since 8 is also <20, $bonus = 100.00;
The else block only applies to...