$ABCD$ is a parallelogram in which $AB/BC=\lambda$. $P,Q$ lie on the line $CD$ and $M$ on $BC$ such that $AD$ bisects $\angle PAQ$ and $AM$ bisects $\angle PAB$. $BM=a, DQ=b$. Prove that $AQ=(a/\lambda)+b$.

I saw this problem in a book when I was practicing for a math olympiad. It's expected to be solved using pure geometry. In my attempt, I extended $AP$ to meet $BC$ at $R$ so that I can use the angle bisector theorem in $\triangle ABR$ along with some similarity but even after almost an hour of trying I wasn't able to prove the result.

Use the bisector theorem to get $$\frac{a}{MR} = \frac{AB}{AR} \tag 1$$
and
$$\frac{b}{DP}=\frac{AQ}{AP}\tag 2$$
Using $MR = BR - a$ from $(1)$ we get $$a = \frac{AB\cdot BR}{AB+AR}\tag{3}$$
Also, the similarity $\triangle ABR \sim \triangle PDA$ gives
$$\frac{AB}{PD}=\frac{BR}{DA}=\frac{RA}{AP}\tag 4$$
The rest is just some algebraic manipulation of $(2)$, $(3)$ and $(4)$.
Edit:
It's also necessary to use the formula for the length of the angle bisector (which may be obtained using $(2)$ and Stewart's theorem):
$$AD^2 = AP\cdot AQ\left(1-\frac{PQ^2}{(AP+AQ)^2}\right)\tag{5}$$
Edit:
Adding the details.
Using for $(4)$ to replace $BR$ and $AR$ in $(3)$ we get
$$a = \frac{AB\cdot \frac{AB\cdot DA}{DP}}{AB+\frac{AB\cdot AP}{DP}} = \frac{AB\cdot DA}{DP+AP} \tag{6}$$
From $(5)$ and $(2)$ we have $$AD^2 = AP\cdot AQ\left(1-\frac{(b+DP)^2}{(AP+AQ)^2}\right) = AP\cdot AQ\left(1-\frac{(\frac{AQ\cdot DP}{AP}+DP)^2}{(AP+AQ)^2}\right) = \frac{AQ(AP+DP)(AP-DP)}{AP}\tag{7}$$
Finally using $(6)$, $(2)$ and $(7)$ we have
$$\frac{a}{\lambda}+b = a \frac{AD}{AB}+b = \frac{AD^2}{DP+AP}+\frac{DP\cdot AQ}{AP} = \frac{AQ(AP-DP)}{AP} +\frac{DP\cdot AQ}{AP} = AQ$$