Below is an instruction that describes a task. Write a response that appropriately completes the request in Swahili. Please answer in Swahili.

### Instruction:
Matt did his homework for 150 minutes. He spent 30% of that time on math and 40% on science. He spent the remaining time on other subjects. How much time did Matt spend on homework in other subjects?

### Response:
 Matt alifanya 0.3*150=45 dakika za hesabu.
Matt alifanya 0.4*150=60 dakika za sayansi.
Matt alifanya dakika 45+60=<<45+60=105>>105 kwa hesabu na sayansi.
Matt alifanya dakika 150-105=<<150-105=45>>45 kwa masomo mengine.