Pythagorean theorem:

can quickly be written as a^2+b^2=c^2
where a and b are the legs and c is the hypotenuse (longest side, opposite the RIGHT/90 degree angle.
You can call either leg a or b, but the hypotenuse is always c.
Explanation:
School to gas:
75^2-25^2 = a^2
5000=a^2
Take square root of both sides
70.7=a
So select 70.7 for school to gas.
Museum to vet office:
18^2-15^2=a^2
99=a^2
Take square root of both sides
9.9 = a.
So select 9.9 for museum to vet.
Vet to hospital:
15^2+25^2=c^2
850=c^2
Take square root of both sides
29.2=c
So select 29.2 for vet to hospital.
Museum to bakery:
60^2-45^2=a^2
1575=a^2
Take square root of both sides
39.7 = a
So select 39.7 for museum to bakery.
Bakery to house:
45^2+20^2=c^2
2425=c^2
Take square root of both sides
49.2=c
So select 49.2 for bakery to house.
Cinema to fire station:
50^2+20^2=c^2
2900=c^2
Take the square root of both sides
c=53.9
So select 53.9 for cinema to fire station.
School to fire station:
The hypotenuse (c) = 75+15=90. Look at the map to see how I got these numbers and added them up.
The leg is 30.
90^2-30^2=a^2
7200=a^2
Take the square root of both sides
84.9=a
So select 84.9 for school to fire station.