$40,018.85