You will find that the sum of mg, T1 and T2 are always equal zero.
Press play to find the vector of those three vectors.

VIEW or DOWNLOAD ejs xml source
then click to translate strings for selected locale.

Press the Alt key and the left mouse button to drag the applet off the browser and onto the desktop.