The property that allow us to write
[tex](a+b)+c = a+(b+c)[/tex]
is called the associative property. It states exactly that, in any sum with more than two terms, you are free to substitute any pair of sum with their sum.