The problem is as follows:
The figure from below shows a homogeneous bar with the shape of an $L$ which mass is $6\,kg$ and its length is $30\,cm$. Find the mass of the block which is hanging from a wire and pulley tied to the end of the bar such that it is in equilibrium in the position shown. You may use the gravity $g=10\,\frac{m}{s^2}$.
The alternatives given are as follows:
$\begin{array}{ll} 1.&4\,kg\\ 2.&10\,kg\\ 3.&15\,kg\\ 4.&20\,kg\\ 5.&24\,kg\\ \end{array}$
I'm not sure how to make the right interpretation of the torque in this problem. How should I make the vector decomposition?. The figure from below shows how I attempted to use those vectors.
However I don't know where should I put the center of mass in this weird object. Is it in the middle?. Is it at $15\,cm$ going from the wall where the joint is put?.
From the drawing I could spot that the torque for the system would be as follows:
I'm assuming that the force on $x-axis$ will not generate torque.
$-60(15)+10m(\sin 37^{\circ})(20)=0$
$120m=900$
$m=7.5\,kg$
Although I arrived to an answer it does not check with any of the alternatives. Can someone help me to find where exactly did I made the mistake?. Can someone help me with a solution using trigonometry approach and vector decomposition?. I would like that an answer could include a method also to calculate or find the center of mass in such a figure. Will this be relevant for the solution of this problem?.




One approach: Split the bent bar into two pieces. Let one piece be the horisontal part together with a massless version of the vertical part, and let the other piece be a massless version of the horisontal part together with the original vertical part.
Each of the two pieces needs some green mass to stay in equilibrium at the position shown in the drawing. Add these two masses to find which mass the pieces need to stay in equilibrium when they are together.
Another approach: The center of mass of the entire bent bar is the (weighted) average of the means of the two pieces mentioned above. Then you can use that to calculate the torque caused by gravity from that center of mass.
Look at the drawing below:
If the horizontal part has mass $m_h$ and the vertical part has mass $m_v$, then the coordinates of the center of mass of the whole bent pipe is given by $$ \frac{m_h(a, b) + m_v(c, d)}{m_v + m_h} $$