So figure A’s base is 4 squares and figure B’s base is 8 squares. To get 4 to 8 you multiple the 4 by 2. The side of figure A is 3 squares and the side of figure B is 6 squares. So to get 3 to 6 you multiply 3 by 2.
Therefore the scale factor from figure A to figure B is 2.