if stretched vertically by a factor of 2, the resulting function will be g(x) = 2|x| and a horizontal compression by a factor of 2, the resulting function will be 1/2|x|
Transformation is a technique used to change the position of an image on an xy-plane.
If the function f(x)is vertically stretched by "a" units, the resulting function will be f(x) = a|x|.
Hence if stretched vertically by a factor of 2, the resulting function will be g(x) = 2|x|
For a horizontal compression by a factor of 2, the resulting function will be 1/2|x|
Learn more on transformation here; https://brainly.com/question/4289712
#SPJ1