Let the length of the rod be , and the tension in the string at be and that at be .

Now the two tensions must balence the downward gravitational force on the system so:

Now take moments about :

Take moments about

....

Take moments about

....

Now you will have four equations in the four unknowns and which you can use to solve for

RonL