To express the total cost of cookie delivery in slope-intercept form, we first need to establish the relationship between the number of cookies delivered and the total cost.
Step 1: Identify the Variables
Let:
- \( x \) = number of cookies
- \( y \) = total cost
Step 2: Determine the Costs
From the information provided:
-
The total cost for delivering 12 cookies is $20: \[ y = 20 \quad \text{when} \quad x = 12 \]
-
The total cost for delivering 18 cookies is $27.50: \[ y = 27.50 \quad \text{when} \quad x = 18 \]
Step 3: Set Up the Equations
We can calculate the cost per cookie and write the cost function. The total cost \( y \) can be represented in the form of a linear equation:
\[ y = mx + b \]
where \( m \) is the slope (cost per cookie) and \( b \) is the y-intercept (fixed costs such as the delivery fee).
Step 4: Calculate the Slope (Cost per Cookie)
Using the two points \((12, 20)\) and \((18, 27.50)\), we can calculate the slope \( m \):
\[ m = \frac{y_2 - y_1}{x_2 - x_1} = \frac{27.50 - 20}{18 - 12} = \frac{7.50}{6} = 1.25 \]
So, the cost per cookie (slope) is $1.25.
Step 5: Determine the Y-intercept (Fixed Costs)
We know there is a $5 delivery fee. Thus, the y-intercept, \( b \), is $5.
Step 6: Write the Equation
Now we can plug in the values for \( m \) and \( b \) into the linear equation format:
\[ y = 1.25x + 5 \]
Final Form
The total cost \( y \) in terms of the number of cookies \( x \) is:
\[ y = 1.25x + 5 \]
This is your equation in slope-intercept form.