$40,171.94