Let V be the volume of the sink; therefore, according to the question,
[tex]\begin{gathered} v_p=\frac{V}{10} \\ and \\ v_q=\frac{V}{8} \end{gathered}[/tex]Where v_p and v_q stand for the speed at which faucet P and faucet Q fill the sink, respectively.
Therefore,
[tex]\begin{gathered} (v_p+v_q)t=V \\ \Rightarrow t=\frac{V}{(v_p+v_q)} \end{gathered}[/tex]Thus,
[tex]\Rightarrow t=\frac{V}{\frac{V}{10}+\frac{V}{8}}=\frac{V}{\frac{9V}{40}}=\frac{40}{9}=4+\frac{4}{9}[/tex]