Answer:
f(x) =

Explanation:
Let the equation of the function is,
f(x) = mx + b
Here, m = slope of the line
b = y-intercept
From the graph attached,
y-intercept 'b' = 4
Slope =

=

=

Therefore, equation of the function representing the graph will be,
f(x) =
