## Precalculus (10th Edition)

We are given the function: $g(x)=2|1-x|$ We have: $g(x)=2|1-x|=2|x-1|$. We start graphing with the basic function $a(x)=|x|$. We horizontally shift $a(x)$ one unit to the right to get $b(x)=|x-1|$. Then we vertically stretch $b(x)$ by a factor of 2 to get $g(x)=2|x-1|$. We use 3 points: $(0,2),(1,0),(2,2)$.