Step-by-step explanation:
Using Newtons second law on each block
F = m*a
Block 1
Block 2
Block 3
Solving Eq1,2,3 simultaneously
Divide 1 and 2
Put Eq 4 into Eq3
Put Eq 5 into Eq2 and solve for a
Substitute back in Eq2 and use Eq4 and solve for T2 & T1