Let the rod have mass \(M\) and length \(L\); its weight acts at the centre, at distance \(\frac L2-x\) from X on the side of B.
Torque balance about X: \(mg\,x=Mg\left(\frac L2-x\right)\).
\(mx=\frac{ML}{2}-Mx\), so \(m=\frac{ML}{2}\cdot\frac1x-M\).
This is of the form \(y=c\,X-M\) with \(y=m\) and \(X=\frac1x\), a straight line.
Answer: (2) \(m,\ \frac1x\)