The ratio of flowers to bulbs to seeds is 10:8:2. If the garden had 30 flowers, how many of them came from bulbs?

Let's first find the total number of parts in the ratio:

10 (flowers) + 8 (bulbs) + 2 (seeds) = 20 parts

Next, we need to determine the value of one part:

30 (flowers) / 10 (parts of flowers) = 3 flowers in one part

Now, let's find how many bulbs there are in total:

8 (parts of bulbs) * 3 (flowers in one part) = 24 bulbs

Therefore, 24 bulbs produced the 30 flowers in the garden.