If I may add a less abstract example, I see the whole problem as having a list of furniture that exist in a 2D room, and I am given all their respective inter distances,
eg I know how far away the couch lies from the armchair, the TV set, the lounge table, etc.,
then how far away the...