To find the equation that represents the total charge in dollars, \( y \), for a delivery of \( x \) cookies, we can start by analyzing the information given.
-
Delivery Fee: The bakery charges a flat delivery fee of $5. This means that the cost of cookies will be added to this fee.
-
Cost of Cookies: We can find the cost per cookie by looking at the total costs given:
-
For 12 cookies, the total charge is $20, which includes the $5 delivery fee. Thus, the cost for the cookies alone is: \[ 20 - 5 = 15 \text{ (for 12 cookies)} \] The cost per cookie is: \[ \frac{15}{12} = 1.25 \]
-
For 18 cookies, the total charge is $27.50, which also includes the $5 delivery fee. The cost for the cookies in this case is: \[ 27.50 - 5 = 22.50 \text{ (for 18 cookies)} \] The cost per cookie is: \[ \frac{22.50}{18} = 1.25 \]
-
From the above calculations, we can determine that the cost per cookie is $1.25.
Putting it all together, the total cost \( y \) for \( x \) cookies can be represented by the equation: \[ y = 1.25x + 5 \]
Thus, the correct equation is: \[ \boxed{y = 1.25x + 5} \]