$40,247.50