If we graph Mary Granola indifference curves with avocados on the horizontal axis and grapefruits on the vertical axis, then whenever she has more grapefruits than avocados, the slope of her indifference curve is -2. Whenever she has more avocados than grapefruits, the slope is -1/2. Mary would be indifferent between a bundle with 23 avocados and 29 grapefruits and another bundle with 31 avocados.
Answer: 22 grapefruits