
Since the pipe is not lifted from even points around the center of mass,
and
are not equal. I choose the left end of the pipe as a pivot point. Since the pipe remains horizontal:
We also know that the pipe is lifted at a constant velocity so:
We plug what we just got for force exerted by A into equation (3) and solve for force exerted by B.
Now that we know the forces exerted by A and B, we find the work: