\begin{minipage}{0.55\textwidth}
  \refstepcounter{minipagecount}
  \noindent{(\theminipagecount)}\quad
  \begin{tikzpicture}[scale=1.5, baseline=(current bounding box.north)]

    \begin{scope}[rotate=<<rotationAngleValue>>]
      \coordinate (A) at (0,0);
      \coordinate (B) at (<<sideCValue>>,0);
      \coordinate (C) at (intersection cs: first line={(A)--($(A)+(<<angleAValue>>:4cm)$)}, second line={(B)--($(B)+(180-<<angleBValue>>:4cm)$)});
      \draw (A) -- (B) -- (C) -- cycle;

      % Mark angles with arcs; double arc for equal angles
      \draw ($(A)!0.23cm!(B)$) arc [start angle=0, end angle=<<angleAValue>>, radius=0.23cm];
      \draw ($(A)!0.3cm!(B)$) arc [start angle=0, end angle=<<angleAValue>>, radius=0.3cm];
      \draw ($(B)!0.23cm!(C)$) arc [start angle=180-<<angleBValue>>, end angle=180, radius=0.23cm];
      \draw ($(B)!0.3cm!(C)$) arc [start angle=180-<<angleBValue>>, end angle=180, radius=0.3cm];
      \draw ($(C)!0.3cm!(A)$) arc [start angle=180+<<angleAValue>>, end angle=360-<<angleBValue>>, radius=0.3cm];

      % Label angles
      \node at ($(A)!-0.25cm!(B)$) {<<angleALabel>>};
      \node at ($(B)!-0.25cm!(C)$) {<<angleBLabel>>};
      \node at ($(C)!-0.25cm!(A)$) {<<angleCLabel>>};

      % Mark angles in degrees
      \coordinate (midBC) at ($(B)!0.5!(C)$);
      \node at ($(A)!0.55cm!(midBC)$) {<<angleADisplayValue>>};

      \coordinate (midAC) at ($(A)!0.5!(C)$);
      \node at ($(B)!0.55cm!(midAC)$) {<<angleBDisplayValue>>};

      \coordinate (midAB) at ($(A)!0.5!(B)$);
      \node at ($(C)!0.55cm!(midAB)$) {<<angleCDisplayValue>>};

      % Draw hash mark perpendicular to line AB at its midpoint
      \draw[black] ($(midAC)!1.5mm!90:(A)$)--($(midAC)!1.5mm!-90:(A)$);

      % Add hash marks on side AC
      \draw[black] ($(midBC)!1.5mm!90:(B)$)--($(midBC)!1.5mm!-90:(B)$);

    \end{scope}
  \end{tikzpicture}
\end{minipage}%
\hfill
\begin{minipage}{0.4\textwidth}
  \begin{align*}
    <<CalcLine1>> \\
    <<CalcLine2>> \\
    <<CalcLine3>> \\
    <<CalcLine4>>
  \end{align*}
\end{minipage}

