B
Because first “reduce” both sides of the top equation by the same to simplify it. See what both sides have in common.
They both have 3 long rectangles and 2 Sm. Squares.
That leaves, 2 long rectangles = 6 squares.
Which means that each long rectangle = 3 squares