A horizontal bar with a mass m suspended from one end is held by a cord with tension T, fastened at a distance D from the end of the bar that is attached to a wall with a frictionless pin. What is the torque about the pin exerted on the bar by the cord?