From the given figure, find the value of $x$ and $y$.

My Attempt,
$$\angle QPB=\angle QAB=50$$ $$2\angle x=\angle y$$
Now, how to calculate further..?
From the given figure, find the value of $x$ and $y$.

My Attempt,
$$\angle QPB=\angle QAB=50$$ $$2\angle x=\angle y$$
Now, how to calculate further..?
Hint:
Look at your figure and note that $\angle PBA=\angle PQA = x$.
So, for fixed $\angle QPB=50°$, changing the position of $P$ the value of $x$ is such that:
If $P\to B$ then $x \to 90°$,
if $P\to A$ then $x \to 0°$
In the figures you can see two situations.