\begin{aligned}T − μF_{N} & = +m_{A}a \\ T − m_{B}g & = −m_{B}a \end{aligned}

1