Is the answer for the average speed like this:

3nm/(n + 2m) ?

Thanks.