An odd number can be written as 2n+1, where n is an integer. Four consecutive odd numbers can be written as 2n-3, 2n - 1, 2n + 1 and 2n + 3. Adding these together gives you 8n, which we are told is 40. So n is 5 and the four consecutive odd numbers are 7, 9, 11 and 13.