The ratio Tim spends on math homework to science homework is 5 to 4. If he spends 40 minutes on math homework, how many minutes does he spend on science homework?
A.20 minutes
B.32 minutes
C.60 minutes
D.90 minutes
Please explain how you got your answer.Thank you.