how many more hours did david use on the computer to play games than to do his homework

ANSWER:
That is, He used 2.7 hours more to play video games than to do homework on the computer.
STEP-BY-STEP EXPLANATION:
To answer this question, we must calculate the number of hours for games and for homework, just like this
[tex]\begin{gathered} \text{Games} \\ h=45\cdot\frac{24}{100}=10.8 \\ \text{Homework} \\ h=45\cdot\frac{18}{100}=8.1 \end{gathered}[/tex]Now, we subtract these values and we are left:
[tex]10.8-8.1=2.7[/tex]