Third row:
The balance stays the same as the previous row ($337.52).
We have 12 days between 9/7 and 9/18, so we can calculate the product/sum as:

NOTE: the product/sum will be used to calculate the average balance for the month.
Fifth row:
The balance stays the same as the previous row ($399.78).
We have 11 days between 9/20 and 9/30.
Then, the product/sum is:

Total:
The total product/sum is:

Average daily balance:
We can take the total product/sum and divide by the total amount of days.

Finance charge:

New balance:

The new balance is $404.41.