Answer: A. 8
B. There will be 3 rows of petunia plants and 5 rows of azalea plants in Miriam's garden.
Explanation:
Given : Miriam buys 24 petunia plants and 40 azalea plants. She wants to plant an equal number of flowers in each row of her garden.
The greatest number of plants that could be in each row of the garden = greatest common factor of 24 and 40.
Prime factorization of 24 and 40 :-

The greatest common factor of 24 and 40=

Thus , the greatest number of plants that could be in each row of the garden= 8
The number of rows of petunia plants =

The number of rows of azalea plants =

Hence, there will be 3 rows of petunia plants and 5 rows of azalea plants in Miriam's garden.