Where can I read more about formula (G-T)= -(S-I) -(X-M)? And how is this formula called?
Since you already answered yourself I am just filling the textbook recommendation:

You could  find more on this in Blanchard et al. Macroeconomics: an European Perspective. You will find this there (assuming based on the question you are looking something at undergraduate level).