[Graphs generated by this script: setBorder(5);initPicture(-6,6,-4,4);axes(1,1,1,1,1);line([-1,-1],[0,1]);line([0,1],[2,-2]);]

The graph above shows the function f(x)\displaystyle {f{{\left({x}\right)}}}. The graph below shows g(x)\displaystyle {g{{\left({x}\right)}}}.

[Graphs generated by this script: setBorder(5);initPicture(-6,6,-4,4);axes(1,1,1,1,1);line([-3,-1],[0,1]);line([0,1],[6,-2]);]

g(x)\displaystyle {g{{\left({x}\right)}}} is a transformation of f(x)\displaystyle {f{{\left({x}\right)}}} where g(x)=Af(Bx)\displaystyle {g{{\left({x}\right)}}}={A}{f{{\left({B}{x}\right)}}} where:

A =  

B =