P = (2, 4)
L = (-3.078528267555466, 2.4346031079010144)
a = Line(P, L)
A = Intersect(a, yAxis)
B = Intersect(a, xAxis)
C = Midpoint(A, B)
f(x) = (2 * x / (x - 1))