Solution
Step 1:
Let the number of pupils = n
[tex]\begin{gathered} Number\text{ of boys = }\frac{2}{3}n \\ Number\text{ of girls = }\frac{2}{3}n\text{ - 15} \end{gathered}[/tex]Step 2:
Write an equation to find the value of n
[tex]\begin{gathered} \frac{2}{3}n\text{ + }\frac{2}{3}n\text{ - 15 = n} \\ \frac{4n}{3}\text{ - n = 15} \\ \frac{4n\text{ - 3n}}{3}\text{ = 15} \\ \frac{n}{3}\text{ = 15} \\ \text{n = 15 }\times\text{ 3} \\ \text{n = 45} \end{gathered}[/tex]Final answer
There are 45 pupils in the class.