The accident will severely affected your resale ability. I’m in the market and I’d think you could get $45-$50k given that repair history and condition, I’m also assuming you have 6 seats.
There are a bunch of model x for low $50s on the web, granted you have a 2017 and 90 VS 75 battery but...