Ahmad baked some chocolate and strawberry cupcakes in the ratio of 2:7. He sold 1/2 of the strawbery cupcakes in the moming. After that, he had 285 more strawberry cupcakes than chocolate cupcakes left. How many cupcakes did Ahmad bake in total?
Call the total number of cupcakes =T
2/9 T of the original batch were chocolate and 7/9 T of the original batch were strawberry
After selling (1/2) of the strawberry cupcakes he had (7/9)T * (1/2) = (7/18) T left
And that number was 285 more than the number of chocolate xupcakes
So
(7/18) T - 285 = (2/9)T
(7/18) - 285 = (4/18) T
(7/18 - 4/18) T = 285
( 3/18) T = 285
(1/6) T =286
T = 285 * 6 /1 = 1710 cupcakes were baked