Each plant in John's garden has either 5 leaves, or 2 leaves and 1 flower.

In total, the plants have 6 flowers and 32 leaves.

Question:

How many plants are there?