Problem
Let $A, B, C \in M_n(\mathbb{R}).$ If $ABC = 0$ and rank$(B) = 1$, then either $AB = 0$ or $BC = 0$.
My idea
I only know that rank$(AB) \leq$ rank$(B)=1$ and rank$(BC) \leq$ rank$(B)=1$. However, it doesn't help. Is there any inequality between rank$(B)$, rank$(AB)$, rank$(BC)$ and rank$(ABC)?$