Given:
Ratio of tulips to roses = 2:1
Total number of flowers = 18
To find:
The number of tulips.
Solution:
Let the number of tulips and roses are 2x and x respectively.
According to the question,


Divide both sides by 3.


Now,
Number of tulips


Therefore, the number of tulips is 12.