Let $\triangle ABC$ be a triangle with $\angle ABC = 76^\circ$ and $\angle ACB = 72^\circ$. Points $P$ and $Q$ lie on the sides $AB$ and $AC$, respectively, such that $\angle ABQ = 22^\circ$ and $\angle ACP = 44^\circ$. Find the measure of $\angle APQ$.

Let's think step by step and output the final answer within \boxed{}.
user