$\triangle{ABC}$ is isosceles with $AB=AC$, $P$ is a point inside $\triangle {ABC}$ such that $\angle{BCP} = 30^{o}$, $\angle{APB} = 150 ^{o}$, $\angle{CAP}=39^{o}$. Find $\angle{BAP}$
This problem is from BdMO 2016 Nationals ( Secondary ), worth of $20$ points. I've tried it after the contest many many times. But couldn't find any solution. Any Hint/Full Solution will be helpful.


Let $Q$ be the point such that $\triangle{PQB}$ is equilateral and $C$ and $Q$ are on the same side of $PB$. Then $Q$ is the center of $\odot BPC$ and so $AQ$ is the perpendicular bisector of $BC$. Finally, as $\angle{APB} = 150^{\circ}$ we have $AP \perp QB$ and so $AP$ bisects $\angle{QAB}$. So $4\angle{BAP} = \angle{BAC}$ which implies that $3\angle{BAP} = \angle{CAP}$ which implies that $\angle{BAP} = 13^{\circ}$.