Where " a " 1 is the area on the bending moment diagram due to vertical loads on AB, " a " 2 is the area due to loads on BC, " x " 1 is the distance from A to the centroid of the bending moment diagram of beam AB, " x " 2 is the distance from C to the centroid of the area of the bending moment diagram of beam BC.