Write a piecewise-defined function that represents the graph?

Answer:
f(x) = { x, -5 ≤ x < 0 and 3x - 3, 1 ≤ x < 5
Step-by-step explanation:
The equation of one line is y = x
The equation of the other line is y = 3x - 3
Altogether,
f(x) = { x, -5 ≤ x < 0 and 3x - 3, 1 ≤ x < 5