y = 8000 + 0.0025x, y = 7000+ 0.0050x, y=10000, from x=0 to x= 1000000