Answer
The required graphs are as follows:
Work Step by Step
The function shifts horizontally if $x$ is replaced by $x+b$ in the function. When $b>0$ then, the displacement will be on the left side by $b$ units while if $b<0$, then, displacement will be to the right by $-b$ units.
When variable $x$ is replaced by $b\cdot x$, then, function horizontally compresses or stretches depending upon $b$. If $b>1$, then, there will be horizontal compression while if $01$, then, it stretches while if $0