Gina landscapes her flowerbed using pansies and tulips. The ratio of pansies to tulips is 5:2. Gina plants a total of 42 flowers. How many pansies does Gina plant in her flowerbed?