In $\Delta ABC$, $AC=BC$. $P$ is a point inside $\Delta ABC$ such that $\angle {PAB}=\angle {PBC}$. $M$ is the midpoint of $AB$. We need to show $\angle {APM}=\angle {BPC}$.
I am very puzzle while solving this.How to solve this?I failed to find any thing. My problem is to do some good thing about the $'M'$. This is the weird part of this problem.I want to do this will classical geometry(i.e.by some synthetic techniques,not by bash like coordinate,complex number,barycentric coordinates ).Please help me

Let $CP$ and $AB$ meet at $S$. Then by a well-known lemma, $PS$ is a symmedian(isogonal line of the median line, namely, $PM$; the proof is not hard with just trigonometry calculations). Thus we have $\angle APM+\angle BPC=\angle BPS + \angle BPC=180^{\circ}$, as desired(there may be other configurations which does not allow to calculate like this, but here I just wrote based on your figure).