q=\frac{g}{f}

f(x)=\frac{0.5(x-1)(x-3)}{-0.6(x+2)(x-3)}

b = 0.5
a = -0.6
O: (0, 0)
t = 3.9099999999999975
T: (t, 0)
h_2 = OrthogonalLine(T, xAxis)
g(x) = ((b * (x - 1)) * (x - 3))
B = Intersect(g, h_2, (3.9099999999999975, 1.3240499999999953))
h(x) = ((a * (x + 2)) * (x - 3))
A = Intersect(h, h_2)
f_s = Segment(A, T)
g_s = Segment(T, B)
i = Segment(O, T)
j = OrthogonalLine(T, xAxis)
f(x) = g(x) / h(x)
P: (t, f(t))
k = Segment(P, T)
Text1: "q(x)=" + (LaTeX[f]) + ""
E = Point(yAxis)
l = OrthogonalLine(E, yAxis)
C, L = Intersect(g, l)
D = Intersect(g, l, 1)
m = OrthogonalLine(C, xAxis)
G: (x(D), 1 / h(x(D)))
n = OrthogonalLine(G, m)
H, I = Intersect(h, l)
F: (x(I), g(x(I)))
p = OrthogonalLine(I, xAxis)
K = Intersect(p, xAxis)
q_1 = Segment(F, K)
r = OrthogonalLine(F, yAxis)
as_1: x = -2
as_2: x = 3
J: (x(G), 0)
s = Segment(J, G)
Z_1, Z_2 = Root(g)
N_1, N_2 = Root(h)
c = OrthogonalLine(N_2, xAxis)
d = OrthogonalLine(Z_1, xAxis)
e = OrthogonalLine(N_1, xAxis)
f_1: y = 1
Q, R = Intersect(h, f_1)
g_1 = OrthogonalLine(Q, xAxis)
h_1 = OrthogonalLine(R, xAxis)
E_1 = Intersect(g, h_1)
E_2 = Intersect(g, g_1)
V = Intersect(f_1, yAxis)
u = Vector(V, R)
v = Vector(R, E_1)
w = Vector(V, Q)
u_1 = Vector(Q, E_2)
S_1, S_2 = Intersect(g, h)
S_{e1}: (x(S_1), 1)
i_1: y = -1
M = Intersect(i_1, yAxis)
N, S = Intersect(h, i_1)
U = Intersect(h, i_1, 1)
W = Intersect(xAxis, i_1)
j_1 = OrthogonalLine(N, xAxis)
k_1 = OrthogonalLine(S, xAxis)
E_3 = Intersect(g, k_1)
E'_3: (x(E_3), (-y(E_3)))
v_1 = Vector(M, S)
w_1 = Vector(S, E_3)
a_1 = Vector(S, E'_3)
S_{e2}: (x(S_2), -1 / 3)
Z = (2.3424074074074066, 0.39388888888888685)
A_1 = (3.564629629629629, 0.39388888888888685)
B_1 = (3.579444444444444, -0.7690740740740836)
C_1 = (2.335, -0.7542592592592686)
q = Ray(Z_2, S_{e2})