reset()
m,c=0.5,-2
var('y')
x=[0,1.5,3,4,5,7,10]
for n in range(0,6):
    y=m*x[n]+c
    y