Define a function that transforms the parent root function with a horizontal compression by a factor of 2 and a downward shift of 6 unit

Define a function that transforms the parent root function with a horizontal compression by a factor of 2 and a downward shift of 6 unit class=