We have basicly the same problem with just an added torque a distance x away from the pivot. We just add it in when we sum up the torques and make the sum still equal to zero (still in equilibrium).