t

$\vec{p}$

$\vec{u}$

y=mx+b

$\vec{x}$

$t\cdot\vec{u}$

g(x) = (-0.5 * x) + 2
A = Point(xAxis)
O: (0 | 0)
E: (1 | 2)
P = Point(g)
p = Vector(O, P)
Q = Point(g)
u = Vector(P, Q)
t = 0.5 (slider from -5 to 5, step 0.1)
X: p + (t * u)
g_{1} = Segment(A, X)
m = Slope(g)
C: (0 | 1.5)
D = Intersect(xAxis, yAxis)
b = Segment(D, C)
Text1: "\underbrace{" + (LaTeX[x(A)]) + "}_{\substack{x}} \rightarrow \underbrace{" + (LaTeX[y(X)]) + "}_{\substack{y=mx+b}}"
v = Vector(O, X)
gL: -5
gR: 5
gU: -1
gO: 4
textt = If(t ≥ 0, LaTeX[t], "(" + (LaTeX[t]) + ")")
w = Vector(P, X)
Text2: "g: \vec{x} = \underbrace{\left(\begin{array}{c} " + (LaTeX[x(p)]) + " \\ " + (LaTeX[y(p)]) + " \end{array}\right)}_{\substack{\vec{p}}}  + \underbrace{" + (LaTeX[textt]) + "}_{\substack{t}} \cdot \underbrace{\left(\begin{array}{c} " + (LaTeX[x(u)]) + " \\ " + (LaTeX[y(u)]) + " \end{array}\right)}_{\substack{\vec{u}}} =\left(\begin{array}{c} " + (LaTeX[x(X)]) + " \\ " + (LaTeX[y(X)]) + " \end{array}\right)"
Text3: "\vec{p} = " + (LaTeX[p]) + ""