Because $A$ and $B$ are nilpotent we know that $A^n$ and $B^n$ are $0$.
I guess we can rewrite $(A+B)^n$ as $\sum_{k=0}^n {n \choose k}A^kB^{n-k}$ and then use $AB = BA$ to rewrite this in a way that shows $(A+B)^n$ is equal to $0$.
It's already clear that the first and last term are $0$ so we can write $(A+B)^n = \sum_{k=1}^{n-1} {n \choose k} A^kB^{n-k}$ but I have no clue what to do with the other terms.