Answer: The correct option is (D) [tex]y=2x-2.[/tex]
Step-by-step explanation: We are given to select the correct formula for the function that is graphed in the figure.
We note from the graph that it is straight line with the points (1, 0) and (0, -2) lying on it.
So, the slope of the line is
[tex]m=\dfrac{-2-0}{0-1}\\\\\\\Rightarrow m=2.[/tex]
Since the line passes through the point (1, 0), so the equation of the line will be
[tex]y-0=m(x-1)\\\\\Rightarrow y=2(x-1)\\\\\Rightarrow y=2x-2.[/tex]
Thus, the correct formula for the given graphed function is [tex]y=2x-2.[/tex]
Option (D) is correct.