Solve M=2TH+2TA for T