Josh is hiking Glacier National Park. He has now hiked a total of 17 km and is 2 km short of being half of the way done with this hike. Write an equation to determine the total length in kilometers of Josh's hike?