Consider a system of 2 boxes, each with mass M, which are stacked as shown in the diagram. The top box has height a and the bottom height b.
At what y-coordinate is the system's center of mass located, if the bottom of the lower box is at y=0? Assume both boxes have uniform density (the center of mass of each box is located at its center).