$40,246.20