The second question:
Distance to each construction site-distance to each construction site
1:-2.083
2:-6.057
3:2.225
4: 1.838
5:3.97 1
6:0.708
A is closer to 12 and farther away from 3456. Because B3+B4+B5+B6 >: 30, a part of 3456 is allocated to A for contracting. As can be seen from the above table, the distance from A to Station 6 -B to Station 6 in 3456 is the smallest, so there are
A: 4 6 0 0 0 2
B: 0 0 6 7 8 9