4)
Take the torque around the middle point.
Total positive torque =  total negative torque
Find the value of x