To find the total number of students in Ms. Cunningham's class, we start with the given ratio of boys to girls, which is 2:3. This means that for every 2 boys, there are 3 girls.
-
Understanding the ratio:
- Let the number of boys be \( 2x \).
- Let the number of girls be \( 3x \).
-
Finding \( x \):
- We know there are 18 girls in the class, so we can set up the equation: \[ 3x = 18 \]
- To find \( x \), we divide both sides by 3: \[ x = \frac{18}{3} = 6 \]
-
Finding the number of boys:
- Now, we can find the number of boys using \( x \): \[ 2x = 2 \times 6 = 12 \]
-
Calculating the total number of students:
- The total number of students in the class is the sum of the number of boys and girls: \[ \text{Total Students} = \text{Number of Boys} + \text{Number of Girls} \] \[ \text{Total Students} = 12 + 18 = 30 \]
Thus, the total number of students in Ms. Cunningham's class is 30.
So, the answer is \( b \) 30.