To write the equation for a piecewise linear function shown on a graph, you need to determine:
the equation of each linear segment and the interval for which it is applied.
This involves identifying the slope and y-intercept of each line segment and the specific intervals (x-values) over which each segment is defined.