$40,518.67