In order to solve this problem, we have to find the components of the force "m1g".

 

 

Ax = A cos q

Ay = A sin q

When we use this method, we measure the angle, q, starting at the x axis and going in the counter-clockwise direction. We could still use this method to solve the problem we're dealing with now, by determining the angle of the m1g vector relative to the x axis:

 

 

Just as we did above, we can determine the x and y components using the rules for Sine and Cosine in a right triangle:

Sin(30) = x/ m1g

Cos(30) = y/ m1g

Therefore:

x = m1g*Sin(30)

y = m1g*Cos(30)

Remember, however, that these are just the magnitudes. We have to consider the sense of the problem in order to determine their signs. Since m1g points in the negative x and negative y direction, the x and y components must also be negative. Thus, our final result is:

x = -m1g*Sin(30)

y = -m1g*Cos(30)