To estimate the price of the 2017 Kia Optima I4 2.0L GDI (Base) in bad condition with 220000 km mileage, I analyzed the selling prices of similar cars. The closest match is the 2016 Kia Optima I4 2.0L GDI (Base) with 290000 km sold for 26500 SAR on 2024-02-23. Considering the higher mileage and the fact that the target car is in worse condition, the price should be lower. The 2015 Kia Optima I4 2.0L GDI (Base) with 237000 km sold for 29000 SAR on 2023-12-11, which is also a useful reference. Adjusting for the year difference and worse condition, the price should be lower. The listed price of a similar 2017 model with 196000 km was 40500 SAR, but this is likely higher than the actual selling price. Considering all these factors, I estimate the market price accordingly.