To translate or scale a plot, replace the appropriate variable with an expression that requires the variable to be modified to achieve the stated result.
example: y = x. To shift this to the right by 3 units, replace x with x - 3.
y = x - 3. x now has to be 3 units larger to satisfy the equation.
To stretch, replace the appropriate variable with one DIVIDED by the stretch factor.
example: y - 3 = x. To stretch this vertically by a factor of 3, replace y with y/3, Now y must be larger to satisfy the equation.
Note that y/3 - 3 = x is the same as y = 3*( x + 3 ).
For the stated problem:
y = f(x) = ln(x)
Shift 3 units right and 1 unit up:
y - 1 = ln (x - 3)
Scale up (stretch) by a factor of 8 vertically:
y/8 - 1 = ln (x - 3)
Note that this would normally be written as:
y = 8*( ln (x - 3) + 1 )