$40,171.42