there are 24 students in a seventh grade class. they decided to plant birches and roses at the school ' s backyard. while each girl planted 3 roses, every three boys planted 1 birch. by the end of the day they planted 2424 plants. how many birches were planted?	Choose the correct choice.
A) 2	B) 5	C) 8	D) 6	E) 4
<gadget id="calculator">3 * 24</gadget>
<output>72</output>

<gadget id="calculator">72 - 24</gadget>
<output>48</output>

<gadget id="calculator">3 * 3</gadget>
<output>9</output>

<gadget id="calculator">9 - 1</gadget>
<output>8</output>

<gadget id="calculator">48 / 8</gadget>
<output>6</output>

<result>D</result>
there are 24 students in a seventh grade class. they decided to plant birches and roses at the school ' s backyard. while each girl planted 3 roses, every three boys planted 1 birch. by the end of the day they planted 2424 plants. how many birches were planted?
divide(subtract(multiply(3, 24), 24), subtract(multiply(3, 3), 1))
"let x be the number of roses . then the number of birches is 24 − x , and the number of boys is 3 × ( 24 − x ) . if each girl planted 3 roses , there are x 3 girls in the class . we know that there are 24 students in the class . therefore x 3 + 3 ( 24 − x ) = 24 x + 9 ( 24 − x ) = 3 ⋅ 24 x + 216 − 9 x = 72 216 − 72 = 8 x 1448 = x 1 x = 18 so , students planted 18 roses and 24 - x = 24 - 18 = 6 birches . correct answer is d ) 6"