Find a formula for the linear function DEPICTED in the following graph. f(x) =

Given,
The line is passing through the points (1, 4) and (0, -2).
Required
The equation of the graphed line.
The equation of line passing through two points is,
[tex]\begin{gathered} (y-y_1)=\frac{y_2-y_1}{x_2-x_1}(x-x_1) \\ (y-(-2)=\frac{4-(-2)}{1-0}(x-0) \\ y+2=\frac{6}{1}(x-0) \\ y+2=6x \\ y=6x-2 \end{gathered}[/tex]Hence, the function of linear expression is 6x - 2.