$${(a)(T_t) – (b)(T_k) – (\frac{1}{2}b)(mg) = 0}$$