\(Q=\dfrac{3+\dfrac{1}{6}-\dfrac{2}{5}}{5-\dfrac{1}{6}+\dfrac{7}{10}}\)
\(=\dfrac{\dfrac{83}{30}}{5-\dfrac{1}{6}+\dfrac{7}{10}}\)
\(=\dfrac{83}{30\left(5-\dfrac{1}{6}+\dfrac{7}{10}\right)=\dfrac{83}{166}=\dfrac{1}{2}}\)
\(P=\dfrac{2-\dfrac{1}{3}+\dfrac{1}{4}}{2+\dfrac{1}{6}-\dfrac{1}{4}}\)
\(=\dfrac{\dfrac{23}{12}}{2+\dfrac{1}{6}-\dfrac{1}{4}}\)
\(=\dfrac{23}{12\left(2+\dfrac{1}{6}-\dfrac{1}{4}\right)}=\dfrac{23}{12.\dfrac{23}{12}}=\dfrac{23}{23}=1\)