\(P=\dfrac{2^{12}\cdot3^5-2^{12}\cdot3^4}{2^{12}\cdot3^6-2^{12}\cdot3^5}-\dfrac{5^{10}\cdot7^3-5^{10}\cdot7^4}{5^9\cdot7^3+5^9\cdot7^3\cdot8}\)
\(=\dfrac{2^{12}\cdot3^4\left(3-1\right)}{2^{12}\cdot3^5\cdot\left(3-1\right)}-\dfrac{5^{10}\cdot7^3\cdot\left(1-7\right)}{5^9\cdot7^3\cdot\left(1+8\right)}\)
\(=\dfrac{1}{3}-\dfrac{5\cdot\left(-6\right)}{9}=\dfrac{3}{9}+\dfrac{30}{9}=\dfrac{33}{9}=\dfrac{11}{3}\)