Study the given map and answer the following question.
Trishika wants to go to the library. Which way is the shortest and by how much?
AHouse - Cinema - Library, 5 km 717 m
BHouse - School - Library, 5 km 717 m
CHouse - Cinema - Library, 5 km 817 m
DHouse - School - Library, 5 km 817 m