    \begin{minipage}{0.55\textwidth}
    \refstepcounter{minipagecount}
    \noindent{(\theminipagecount)}\quad
    \begin{tikzpicture}[scale=0.9, 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;
            \draw ($(A)!0.3cm!(B)$) arc [start angle=0, end angle=<<angleAValue>>, radius=0.3cm];
            \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.95cm!(midBC)$) {<<angleADisplayValue>>};

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

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

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

