$40,047.64