$40,582.59