Question 12Suppose that $\log_{a} 125 = \log_{5} 3$ and $\log_{b} 16 = \log_{4} 7$. Find the value of $a^{\left(\log_{5} 3\right)^{2}} - b^{\left(\log_{4} 7\right)^{2}}$.