$40,314.78