I simply have a triangle say $\triangle ABC$. Given coordinates of $A$ & $B$ and the length of $AC$ and $BC$.
I can calculate the length between ab via the distance square rule.
$$D = \sqrt{(X_2 - X_1)^2 + (Y_2 - Y_1)^2} $$
I have tried to use the distance rule to compute the third vertex, but it has a lot of steps. I wonder if there is another method that yields the two possible solutions for the vertex
Let $A = (x_A, y_A)$ and $B = (x_B,y_B)$ the known vertices of your triangle. Let's call $d_{AB}$, $d_{BC}$ and $d_{CA}$ the lengths of each side.
$$A' = (0, 0), B' = (x_B-x_A, y_B-y_A ) = (x_B', y_B').$$
$$A'' = (0,0), B'' = (d_{AB}, 0).$$
Anyway, the value of the rotation angle is important for the next steps. In particular it is $$\theta = \arctan2\left(y_B-y_A,x_B-x_A\right),$$
where $\arctan2(\cdot, \cdot)$ is defined in details here.
$$x_C'' = \frac{d_{AB}^2+d_{AC}^2-d_{BC}^2}{2d_{AB}},$$
and
$$y_C'' = \pm\frac{\sqrt{(d_{AB}+d_{AC}+d_{BC})(d_{AB}+d_{AC}-d_{BC})(d_{AB}-d_{AC}+d_{BC})(-d_{AB}+d_{AC}+d_{BC})}}{2d_{AB}}.$$