Final answer:
The formula to calculate the cost C of Sarah's shopping, given that milk costs a pence a bottle and bread costs b pence a loaf, is C = 3a + 2b.
Step-by-step explanation:
The formula to calculate the cost C of Sarah's shopping, given that milk costs a pence a bottle and bread costs b pence a loaf, is:
C = 3a + 2b
Using this formula, we can substitute the values for a and b with the given information. Since Sarah buys 3 bottles of milk and 2 loaves of bread, the formula would become:
C = 3(a) + 2(b) = 3a + 2b