For this case, the first thing to do is define a variable.
We have then:
- x: total number of children
Then we write the equation that models the problem:
![\frac {2} {3} x = 18](https://img.qammunity.org/2020/formulas/mathematics/middle-school/d2clgqqjnhm2x2hfrajijib0vjk6a87icy.png)
From here, we clear the value of x.
We have then:
![x = \frac {3} {2} (18)\\x = 3 * 9\\x = 27](https://img.qammunity.org/2020/formulas/mathematics/middle-school/sfjcolcy2260iz5rr67wpxo65o9hy87608.png)
Answer:
the total number of children in the class is:
![x = 27](https://img.qammunity.org/2020/formulas/mathematics/middle-school/bm5bugdz7in3bn5deu99pcwkvicq9z9iw3.png)