A hint to get started
Transform a piecewise curve and crop to the requested interval
(i) State transformations taking to .
Define
(ii) Sketch f for −1≤x≤4.
(iii) Separately sketch for −1≤x≤4.
[2015/I/5]
CJC · Discussion · Question 9
Apply the transformations to each piece, then enforce the requested viewing interval.