Answer: You would expect to find old stars and no young stars in the M87 galaxy, as it is a giant elliptical galaxy that is known to have a population of old stars. Therefore, the correct answer is (3) only M87.
The Large Magellanic Cloud (LMC) and Andromeda Galaxy (M31) are both spiral galaxies that are actively forming new stars, so you would expect to find a mixture of old and young stars in these galaxies.