Use the image to answer the question.

Write the equation of the linear function shown on the graph. Enter your answer in y=mx+b form.

y = -2x + 4