$P$ is a point inside triangle $ABC$ such that $\angle PBC=30°,\angle PBA=8°$ and $\angle PAB=\angle PAC=22°$. Find $\angle APC$, in degrees.
If you continue the $AP$ so that it meets $BC$ at $D$ you get that angle $DBP$ = $BPD$ therefore triangle $BDP$ is isosceles but I don’t know what to do next, hints and solutions would be appreciated

Here is a geometric derivation:
1) Construct CQ $\perp$ AD and connect QD.
2) Because the right triangles AQX and ACX share the side AX and $ \angle QAX = \angle CAX=22$, they are congruent. In turn, the triangles QDX and CDX are congruent, which yields
$$QD = DC\tag{1}$$
3) $\angle PBD = \angle BPD = 30$ makes the triangle PBD isosceles and,
$$ \angle PDC = \angle PDQ = \angle QDB = 60; \>\>\>\>\>BD = DP\tag{2}$$
4) Because of (1) and (2), the triangles BDQ and PDC are congruent, which yields,
$$\angle CPD = \angle QBD = 38$$
As a result,
$$\angle APC = 180 - 38 = 142^\circ$$