Like usually i calculate a first but in this case i'm not sure, as i usually write down 2 independent equations for the masses involved and add or subtract them together and the T's cancel out and i find out a. But in this case for the eqn's it's T1 and T2 and they dont cancel out.