Explanation:
Let s = the amount of flour in a batch of shortbread, let c = the amount of flour in a batch of croissants, and let p = the amount of flour in a pound cake.
The first statement can be written as 5s + 4p + 2c = 3525.
The second statement can be written as s + c + p = 1020.
The third statement can be written as 4p = 2c.
Multiplying the third equation by 2, we get 8p = 4c.
Subtracting this from the first equation, we get 5s + 4p + 2c - 8p = 3525 - 8p.
Simplifying, we get 5s - 6c = 3525 - 8p.
Now we have a system of two equations with the variables c and p:
5s - 6c = 3525 - 8p
s + c + p = 1020
We can use substitution to eliminate c. Solving the second equation for c, we get c = 1020 - s - p.
Substituting this into the first equation, we get 5s - 6(1020 - s - p) = 3525 - 8p.
Expanding the second equation and simplifying, we get 11s = 4545 - 8p.
Solving for s, we get s = (4545 - 8p) / 11.
Substituting the value of s into the second equation, we get c + p + (4545 - 8p) / 11 = 1020.
Expanding and simplifying, we get c + p + (4545 - 8p) / 11 = 1020.
Expanding, we get c + p = 1020 - (4545 - 8p) / 11.
Solving for c and p, we find that c = 664 grams and p = 356 grams.
Finally, the value of s is (4545 - 8 * 356) / 11 = 735 grams.