haruspex said:
I note that the diagram supplied with the question shows T1 both sides of M2. That looks like a blunder. Assuming M2 has uniformly distributed mass, and the rope does not slip on the pulleys, the rotational inertia of M2 leads to a computably different tension each side. (The radius is irrelevant.)
Likewise A, but in that case we are not given its mass.
According to my calculations, the final formula, as well as the original figure, work out correctly if you assume that the pulley M_2 has all its mass concentrated in its center. In other words, yes, the pulley has mass, but it has zero moment of inertia. There's no need to worry about angular acceleration and such for this problem.
@KingBreak, Welcome to PF!
To get you started, you'll first need to form 6 simultaneous equations. From the looks of your work, I think you only started with 4 equations. There are additional constraints that you can use to your advantage. One is a constraint between m_3 and m_4 (or M_1 and M_2 using your coursework notation). The other constraint is between m_1, m_2 and m_4 (or m_1, m_2, and M_2 using the coursework notation). [Edit: also, as
@haruspex pointed out, you seem to have treated m_4 (or M_2 using your coursework's notation) as stationary. It is not. That pulley can accelerate linearly too. You'll need to fix that.]
Also, I think that e with the up-arrow (\uparrow e) might be trying to tell you that your instructor wants
up to be the positive direction. It looks to me in your equations that you chose down as the positive direction. You should probably change that to be consistent with the course-work's intentions. It shouldn't change the final answer, but leaving
down as positive might make it more difficult for your instructor to follow your work.
Then, by using you favorite method of eliminating variables, you'll need to eliminate a_1, a_2, a_3, a_4, and T_1. You'll need to eliminate these variables carefully such that you leave only T, the masses, and g in the final equation.
I won't sugar-coat it for you, there is a lot of algebra in this problem. But it is possible (at least according to my calculations).