Now we find $AP'=AP=3$ and $\angle{PAP'}=60^\circ$, therefore $\triangle{APP'}$ is equilateral. This implies $PP'=3$ too. Obviously, $CP'=BP=4$ and $CP=5$ Therefore $CPP'$ is a right triangle by the converse of Pythagorean theorem where $\angle{CP'P} = 90^\circ$.
Next, draw $AE\perp PP'$ and let the foot be $E$. See the diagram $(ii)$ above.
$$\angle{AP'E} = 180^\circ - \angle{PP'C} - \angle{AP'P} = 180^\circ - 90^\circ - 60^\circ = 30^\circ$$
Therefore $$AE=\frac{1}{2}AP' = \frac{3}{2}\quad\text{and}\quad CE = \frac{\sqrt{3}}{2}AE+CP'=\frac{3\sqrt{3}}{2}+4$$
Applying Pythagorean theorem on $\triangle{AEC}$ yields:
$$AC=\sqrt{\Big(\frac{3}{2}\Big)^2 + \Big(\frac{3\sqrt{3}}{2}+4\Big)^2}=\sqrt{25+12\sqrt{3}}$$