Let\'s say I have 5 Coordinate systems A,B,C,D and W, represented on the following image (this is a view from the top):
We know the following values: