Crane Balancing
Calculate the area/centroid of the polygon. Treat the crane as a point mass located at the centroid. Note we only care about location in X dimension. Masses can be combined by (x0*w0+x1*w1)/total_weight. Do some algebra to find the masses that put the x value of the COM (center of mass) within the base.