$40,587.71