Q. The line joining $A(b \cos \alpha, b \sin \alpha)$ and $B(a \cos \beta, a \sin \beta)$, where $a \neq b$, is produced to the point $M(x, y)$ so that $A M: M B=b: a$. Then, $x \cos \frac{\alpha+\beta}{2}+y \sin \frac{\alpha+\beta}{2}$ is equal to
Solution: