plot -x + 1, 2x - 2, -4x + 10 from 0 to 3