I have the following task (Kostrikin, Linear Algebra, 2.2.5):
Prove that for any linear operators on $V$ the following equation holds: $$\operatorname{rank}A = \operatorname{rank}BA + \dim(\operatorname{Im}A \cap \ker B)$$
UPD. Originally, equation in my question was different, because of the typo in the textbook. After some googling I've found a right one.