My answer is probably wrong, so can someone help me get the right one?

Answer: second one is the answer
Hope this helps, im sure of my answer
Answer:
The correct answer option is [tex]f(x)=-\frac{1}{2} x+3[/tex].
Step-by-step explanation:
We will take easy (clear) points on the graph i.e. (0, 3) and (6, 0) and use them to find the equation of the line given on the graph.
To find the slope:
Slope = [tex]\frac{0-3}{6-0} =-\frac{1}{2}[/tex]
Putting the values of the coordinates of one of the chosen points and slope of the line in the standard form of equation of a line to find the y-intercept (c).
[tex]y=mx+c[/tex]
[tex]3=-\frac{1}{2} (0)+c\\\\c=3[/tex]
So the equation of the graphed line in terms of f(x) will be:
[tex]f(x)=-\frac{1}{2} x+3[/tex]