<s>[INST] Solving logarithm leaving in terms of $p$ and $q$ I would like to check the steps if Part a) is done correctly.
For Part b), how do I continue from below? I seem to stuck for $\log_{10}(5)$…
Here is the problem:

Given that $p = \log_{10} 2$ and $q = \log_{10} 7$, express the following in terms of $p$ and $q$.
a) $\log_{7} 4 = \frac{\log_{10} 4}{\log_{10} 7} = \frac{2 \log_{10} 2}{\log_{10} 7} = \frac{2p}{q}$
b) $\log_{10} \sqrt[3]{\frac{25}{49}} = \log_{10}5^\frac{2}{3} - \log_{10}7^\frac{2}{3} = \frac{2}{3}\log_{10}5 - \frac{2q}{3}$

[Source]
 [/INST] Part a is correct and $\log_{10} 5+\log_{10} 2=1$
</s>