The graph shows a line passing through the points (1,0) and (0,2). What is an equation of the graph shown?
y=−2x+2
y=2x+2
y=−2x−2
y=2x−2