This is problem 14 from section 1.2 in the book Matrix Theory Basic Results and Techniques 2nd edition.
If $A B=A+B$ for matrices $A, B,$ show that $A$ and $B$ commute, i.e., $$ A B=A+B \quad \Rightarrow \quad A B=B A $$
The problem appear to be a "simple" problem that we just need to play around with $AB=A+B$. But after a hour of trying, I couldn't figure it out. Any hint will be appreciated.