A network of roads connecting towns in an alpine region is shown below.
The distances between neighbouring towns, represented by vertices, are given in kilometres.
The region receives a large snowfall, leaving all roads between the towns closed to traffic.
To ensure each town is accessible by car from every other town, some roads will be cleared.
The minimal total length of road, in kilometres, that needs to be cleared is
- 361 if `x` = 50 and `y` = 55
- 361 if `x` = 50 and `y` = 60
- 366 if `x` = 55 and `y` = 55
- 371 if `x` = 55 and `y` = 65