Deductions & credits

No, not quit what I was asking.  I purchased the land (cabin) in 2001 and just sold the land (cabin) in 2020.  the difference was $17500 (gain).  But in 2017 I learned I had no legal access to the property so I had to pay roughly $9000 to get a new road (easement/wet land delineation/survey/construction) .  Is that land improvement (new road expense) a write off and if so where do I enter it?