Plot[Piecewise[{{1, x < 3}, {6, x < 4}, {-3+x, x < 15}}], {x, 0, 10}]