$\triangle[ABC]$ is a 30-60 right triangle, and its right angle is at C. A is at the origin. A circle is inscribed in it; its center is at
O = (2*sqrt(3)*(sqrt(3) - 1), 2*(sqrt(3) - 1))
and its radius is 12(sqrt(3) - 1). Leg AC is the shorter leg. The equation of the line through it is y = sqrt(3)*x. The line perpendicular to AC has slope -sqrt(3)/3, and the line through O with slope -sqrt(3)/3 is
y = (-sqrt(3)/3)*(x - 2*(sqrt(3))*(sqrt(3)-1)) + 2*(sqrt(3)-1) .
The two lines intersect on leg AC at
Q = (8*sqrt(3)*(sqrt(3)-1), 24*(sqrt(3)-1)) .
So, the command \draw (O) -- (Q); should draw a radius of the circle to leg AC. On my computer, the command renders a line segment through the other leg and ridiculously long. It seems to me that the command locating point Q has been ignored.
\documentclass{amsart}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{calc,intersections}
\begin{document}
\noindent \hspace*{\fill}
\begin{tikzpicture}
\path (0,0) coordinate (A) (8,0) coordinate (B) (2,{2*sqrt(3)}) coordinate (C);
\node[anchor=north, inner sep=0, font=\footnotesize] at (0,-0.15){\textit{A}};
\node[anchor=north, inner sep=0, font=\footnotesize] at ($(B) +(0,-0.15)$){\textit{B}};
\node[anchor=south, inner sep=0, font=\footnotesize] at ($(C) +(0,0.15)$){\textit{C}};
\draw (A) -- (B) -- (C) -- cycle;
\path let \n1={2*(sqrt(3))*(sqrt(3)-1)}, \n2={2*(sqrt(3)-1)} in coordinate (O) at (\n1,\n2);
\draw[fill] (O) circle (1.5pt);
\draw[blue] let \n1={2*(sqrt(3)-1)} in (O) circle (\n1);
\path let \n1={2*(sqrt(3))*(sqrt(3)-1)} in coordinate (P) at (\n1,0);
\node[anchor=north, inner sep=0, font=\footnotesize] at ($(P) +(0,-0.15)$){\textit{P}};
\draw (O) -- (P);
\path let \n1={8*sqrt(3)*(sqrt(3)-1)}, \n2={24*(sqrt(3)-1)} in coordinate (Q) at (\n1,\n2);
\draw[fill=green] (Q) circle (1.5pt);
\draw[green] (O) -- (Q);
\end{tikzpicture}
\end{document}


*1ptin the commands locatingOandP? – A gal named Desire Apr 20 '19 at 21:38\path let \n1={8*sqrt(3)*(sqrt(3)-1)}, \n2={8*3*(sqrt(3)-1)} in coordinate (Q) at (\n1,\n2);which is equivalent to\path ({8*sqrt(3)*(sqrt(3)-1)},{8*3*(sqrt(3)-1)}) coordinate (Q);(meaning you do not needcalcfor that, and this is where TikZ places the point. – Apr 20 '19 at 21:52Q. You may not believe that the coordinates I give renderOQperpendicular to legAC, but you should know that it will be a point on legAC. – A gal named Desire Apr 20 '19 at 21:59TikZis not puttingQon legAC, though. – A gal named Desire Apr 20 '19 at 22:00Qshould be on legAC.TikZis not plotting it on legAC, though. – A gal named Desire Apr 20 '19 at 22:33\draw[red,dashed] (A) -- (Q);to your code. This produces a dashed line that runs from A through C to Q. The problem is that you made a mistake when solving for the coefficients. – Apr 20 '19 at 22:37Qis on the line throughAandC. – A gal named Desire Apr 20 '19 at 22:44Qby8errantly. – A gal named Desire Apr 20 '19 at 22:48