## Thomas' Calculus 13th Edition

$y=\frac{5}{2}x$ when $0\leq x\leq 2$ $y=-\frac{5}{2}x+10$ when $2\leq x\leq 4$
Note that when $x=2$, both functions give the same value.