$40,177.77