Final answer:
To write a linear function with given values, we need to find the slope and y-intercept. Using the two given points, we can find the slope and use it with the y-intercept to form the linear equation g(x) = mx + b. By plugging in the values, we can determine the equation as g(x) = -2/5x - 4/5.
Step-by-step explanation:
To write a linear function, we need to find the slope and the y-intercept. Let's use the two given points to find the slope:
Slope (m) = (y2 - y1) / (x2 - x1) = (-4 - (-5)) / (0 - (-2.5)) = -1/2.5 = -2/5.
Now, we can use the slope-intercept form of a linear equation, y = mx + b, where m is the slope and b is the y-intercept. We know that when x = -2.5, y = -5. Plugging these values into the equation, we get -5 = (-2/5)(-2.5) + b. Solving for b, we find that b = -4/5.
Now we can write the linear function: g(x) = -2/5x - 4/5.
Learn more about Writing linear functions