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

### Instruction:
The number of math problems that Marvin practiced today is three times as many as the number of problems he solved yesterday. His friend, Arvin, has practiced twice as many math problems on each day. How many math problems have they practiced altogether if Marvin solved 40 math problems yesterday?

### Response:
 Ikiwa Marvin aliyatatua maswali 40 ya hesabu jana, amejifunza maswali 40*3= <<40*3=120>>120 ya hesabu leo.
Jumla ya maswali ya hesabu ambayo Marvin amejifunza ni 120+40= <<120+40=160>>160
Arvin amejifunza maswali 160*2 = <<160*2=320>>320 ya hesabu.
Kwa pamoja, Marvin na Arvin wamejifunza maswali 320+160 = <<320+160=480>>480 ya hesabu.