Answer: 7 days.
Explanation:
Let the number of days agent spent in Australia be x.
Then, Number of days he spent in New Zealand = 3x
and number of days he spent in India = x+5
According to the question we have the following eqauation,
![x+3x+x+5=40\\\\\Rightarrow\ 5x+5=40\\\\\Rightarrow\ 5x=40-5\\\\\Rightarrow\ 5x=35\\\\\Rightarrow\ x=(35)/(5)=7](https://img.qammunity.org/2020/formulas/mathematics/college/faxv0oodawi1aolyuf8x4tmzh6b13rauma.png)
Hence, he spent 7 days in Australia.