Explanation:
The representation that is the most appropriate for showing how the price changed each year is given by:
The second graph.
How to choose the correct graph?
There are two steps to identify the correct graph, as follows:
Obtain the input and the output variable.
Classify the input variable as discrete or continuous.
The input and the output variables are given as follows:
Input variable: Number of years since 2010.
Output variable: Price of the gallon of milk.
As the input variable is graphed on the horizontal axis, while the output variable is graphed on the vertical axis, the first and the fourth graphs are incorrect, as they have each variable on the wrong axis.
The price keeps changing throughout the years, that is, the price does not remain constant throughout the year, meaning that the domain is continuous, and thus the graph is composed by a solid line.
This means that the second graph is the correct graph in this problem. (the solid, approximately horizontal line).