$\vec{n}$

$\vec{p}$

$\vec{x}$

$\vec{x}-\vec{p}$

P = (3, 2)
N = (4, 4)
n = Vector(P, N)
O: (0 | 0)
p = Vector(O, P)
g: (x(n) * x) + (y(n) * y) = (p * n)
X = Point(g)
u = Vector(O, X)
v = Vector(P, X)
b = 1 (slider from -5 to 5)
α = Angle(N, P, X)
a: (v * n)
c: (p * n)
Text2: "\underbrace{" + (LaTeX[x(n)]) + "x_1 +" + (LaTeX[y(n)]) + " x_2}_{\vec{x}\cdot\vec{n}} = \underbrace{" + (LaTeX[c]) + "}_{\vec{p}\cdot\vec{n}}"
Text1: " \Biggl[ \underbrace{\left(\begin{array}{c} x_1 \\ x_2 \end{array}\right)}_{\vec{x}} - \underbrace{\left(\begin{array}{c} " + (LaTeX[x(p)]) + " \\ " + (LaTeX[y(p)]) + " \end{array}\right)}_{\vec{p}}  \Biggl]  \cdot \underbrace{\left(\begin{array}{c} " + (LaTeX[x(n)]) + " \\ " + (LaTeX[y(n)]) + "  \end{array}\right)}_{\vec{n}} = " + (LaTeX[a]) + ""