$40,365.84