To solve for the force of tension in both rope 1 and 2, both forces have to broken down into their x and y components, and then solve the resulting system of equations.
We assume the net force is zero, so
Fnet=∑F=∑Fx+∑Fy=0.
To find the forces acting the the x direction, we have to decompose the tension of both ropes.
For rope 1,
T1,x=T1sinα
For rope 2,
T2,x=T2sinβ.
One important note is since the force of tension of the two ropes point in opposite directions, their signs must be different. As convention, the force pointing to the left will be negative in these calculations.
Now we know the net force in the x direction
∑Fx=T2sinβ−T1sinα=0.
Next, we will use the same technique to decompose the forces in the y direction.
For rope one,
T1,y=T1cosα
For rope 2,
T2,y=T2cosβ.
When finding the net force in the y direction, we cannot forget our assumption that gravity also works in the y direction but in the opposite direction as our tension forces. The net force in the y direction is,
∑Fy=T1cosα+T2cosβ−Mg=0.
Now we have two unknowns (the tension of the two ropes) and two equations, so we can solve this as a system of equations.
The force of tension in the x direction can be rearranged to solve for one of the unknowns, in this case
T1
T2sinβ−T1sinα=0
T1=T2sinβsinα
Now we can plug this solution for
T1 into the equation we have for the tension force in the y direction
T1cosα+T2cosβ−Mg=0
T2sinβsinαcosα+T2cosβ−Mg=0
And solve for
T2 (should I add more steps?)
T2=Mg(sinβtanα+cosβ)
Now we have solutions for both tension forces, T1 and T2