$40,217.97