Problem: 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 ?
Rationale: "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"
annotated_formula: divide(subtract(multiply(3, 24), 24), subtract(multiply(3, 3), 1))