A container has peppermint gum and spearmint gum. There are 18 pieces of peppermint gum in the container and the ratio of peppermint gum to spearmint gum is 2 : 3. Find the number of pieces of spearmint gum in the container.

I WILL GIVE YOU BRAINLIEST PLEASE HELP