Where:
* Commission rate is a percentage of the sales revenue that is paid to the salesperson.
* Sales revenue is the total amount of money that the salesperson generates for the company.
For example, if a salesperson has a commission rate of 10% and generates $10,000 in sales revenue, then their commission would be $1,000 ($10,000 * 10%).
Total earnings = Base salary + Commission