$40,315.87