A bakery delivers cookies to offices.

*The bakery charges a $5 delivery fee.

*The bakery charges a total of $20 for delivering 12 cookies

*The bakery charges a total of $27.50 for delivering 18 cookies

Which equation represents the total charge in dollars. y. for a delivery of x cookies?

Remember to put y1-mx1 + b in the second entry to see the slope and y-intercept.

y = 1.25x + 5

y = 5x + 1.25

y = 1.25x + 6

y = 5x + 7.50

1 answer

To find the equation that represents the total charge \(y\) for a delivery of \(x\) cookies, we need to identify the cost per cookie and the fixed delivery fee.

  1. Identify the delivery fee: The bakery charges a $5 delivery fee.

  2. Calculate the cost per cookie: Using the total charges for the deliveries provided:

    • For 12 cookies at $20: \[ \text{Cost of cookies} = 20 - 5 = 15 \] Therefore, the cost per cookie is: \[ \frac{15}{12} = 1.25 \]
    • For 18 cookies at $27.50: \[ \text{Cost of cookies} = 27.50 - 5 = 22.50 \] Therefore, the cost per cookie is: \[ \frac{22.50}{18} = 1.25 \] Both calculations confirm that the cost per cookie is $1.25.
  3. Write the equation: The total charge \(y\) consists of the delivery fee plus the cost of the cookies: \[ y = 1.25x + 5 \]

Thus, the equation that represents the total charge in dollars \(y\) for a delivery of \(x\) cookies is:

\[ \boxed{y = 1.25x + 5} \]