For this case, the first thing to do is define a variable.
We have then:
Then we write the equation that models the problem:
[tex]\frac {2} {3} x = 18[/tex]
From here, we clear the value of x.
We have then:
[tex]x = \frac {3} {2} (18)\\x = 3 * 9\\x = 27[/tex]
Answer:
the total number of children in the class is:
[tex]x = 27[/tex]