Hello,
x= amount of flour that she poured in the canister
there was 5,026 grams of flour, and now: 5,026+x
In the bag there was 4,158, now: 4,158
I says that as a result the mass of the flour in the canister is twice the mass of the flour left in the bag, so:
[tex]5,026+x=2*(4,158-x) \\ 5,026+x=8,316-2x \\ 3x=8,316-5,026 \\ 3x=3,290 \\ x=1,096.67[/tex]
So, she poured 1,096.67 grams, we subtract this from the initial amount in the bag and we have the answer:
[tex]4,158g-1,096.67=\boxed{3,061.33}[/tex]
Answer: there is 3,061.33 grams of flour in the bag