Answer:
The tension is

The horizontal force provided by hinge

Step-by-step explanation:
From the question we are told that
The mass of the beam is
The length of the beam is

The hanging mass is

The length of the hannging mass is

The angle the cable makes with the wall is

The free body diagram of this setup is shown on the first uploaded image
The force
are the forces experienced by the beam due to the hinges
Looking at the diagram we ca see that the moment of the force about the fixed end of the beam along both the x-axis and the y- axis is zero
So

Now about the x-axis the moment is

=>

Substituting values


Now about the y-axis the moment is

Now the torque on the system is zero because their is no rotation
So the torque above point 0 is





The horizontal force provided by the hinge is

Now substituting for T

