Take T1 to be the tension in one cable, T2 the tension in the other. Take [itex]\theta1[/itex] to be the angle the first cable makes with the horizontal, [itex]\theta2[/itex] to be the angle the second cable makes. You can calculate the x and y components of both tension vectors in terms of T and [itex]\theta[/itex]. You know what the y component of each must be- they are given. You know that the x components must cancel, because the beam does not move left or right.