like this?

for edge labels is used tikz library quotes, for angle "theta" angle. corners of triangle is defined by \coordinate. they are needed to positioned \theta.
\documentclass[tikz, margin=3mm]{standalone}
\usetikzlibrary{angles, arrows.meta, positioning, quotes}
\begin{document}
\begin{tikzpicture}[auto]
\coordinate (a);
\coordinate[right=3cm of a] (b);
\coordinate[above=4cm of a] (c);
\draw[-Straight Barb] (b) edge ["3N"] (a)
(b) edge ["X" '] (c)
(a) to ["4N"] (c);
\pic[angle eccentricity=1, "$\theta$"] {angle = c--b--a};
\end{tikzpicture}
\end{document}
if you for example like to add names of corners and draw locus at ``theta`, than you can obtain this by:
\documentclass[tikz, margin=3mm]{standalone}
\usetikzlibrary{angles, arrows.meta, positioning, quotes}
\begin{document}
\begin{tikzpicture}[auto]
\coordinate[label=below:A] (a);
\coordinate[label=below:B, right=3cm of a] (b);
\coordinate[label=above:C, above=4cm of a] (c);
\draw[-Straight Barb] (3,0) edge ["3N"] (0,0)
(3,0) edge ["X" '] (0,4)
(0,0) to ["4N"] (0,4);
\pic[draw, angle radius=7mm, angle eccentricity=0.7, "$\theta$"] {angle = c--b--a};
\end{tikzpicture}
\end{document}
