Answer:
There are 15 purple marbles.
Explanation:
Given:
A bag contains purple marbles and red marbles, 27 in total.
The number of purple marbles is 9 less than 2 times the number of red marbles.
Now, to find the number of purple marbles.
Let the number of red marbles be

And the number of purple marbles be

Total marbles = 27.
According to question:

⇒

⇒

Adding both sides by 9 we get:
⇒

Dividing both sides by 3 we get:
⇒

So, to get the number of purple marbles we put the value of
:




Therefore, there are 15 purple marbles.