P(0|4)

a

Asymptote h

a = 2.2 (slider from -7 to 5, step 0.1)
f(x) = 2.0 * lg(x + 1.0) / lg(3.0) - 2.0
P = Point(yAxis)
A = (0, -5)
B: (a, -1.0)
u = Vector(A, B)
f' = Translate(f, u)
C = Point(f)
D = Point(f')
v = Vector(C, D)
b = false