Function Transformations
The graphs below show the functions f(x)\displaystyle {f{{\left({x}\right)}}} and g(x)\displaystyle {g{{\left({x}\right)}}} where:

g(x)=af(x)\displaystyle {g{{\left({x}\right)}}}={a}{f{{\left({x}\right)}}}

Identify the value of '
a' for this transformation:
f(x)\displaystyle {f{{\left({x}\right)}}}
1234-1123456-1-2-3-4-5-6[Graphs generated by this script: setBorder(5);initPicture(-1,4,-6,6);axes(1,1,1,1,1);line([1,2],[2,-1]);line([2,-1],[3,-2]);]
g(x)\displaystyle {g{{\left({x}\right)}}}
1234-1123456-1-2-3-4-5-6[Graphs generated by this script: setBorder(5);initPicture(-1,4,-6,6);axes(1,1,1,1,1);line([1,-6],[2,3]);line([2,3],[3,6]);]
 g(x)=af(x)\displaystyle {g{{\left({x}\right)}}}={a}{f{{\left({x}\right)}}} when a=\displaystyle {a}=