y= max(15, 1000 * (1 - x / 200)) from 0 to 200