2. Calculate total expenses:
$