A piecewise linear function is a function that will have two equations with an inequality beside it dependent on the variable. For instance, If x is less than something, you use one equation, and if x is greater than something, you use the second equation. If given an integer, then the highest and lowest points will become you domain and range. The lowest and highest points of x will be your domain, while the same is true for range with the exception of operating under y values. Hope this helped.