I need to find the tension in the horizontal string.

Mass of the bar:

$\displaystyle m_1 = 4.7 kg$

Hanging mass:

$\displaystyle m_2 = 3.4 kg$

Length of the bar:

$\displaystyle l_1 = 2.3 m$

Angle between bar and horizontal:

$\displaystyle \theta = 42^{\circ}$

Length between hanging mass and string-bar connection:

$\displaystyle l_2 = 0.8 m$

Thanks in advance for the help!