The next two terms in this sequence are 640 and 2560.
To find the next two terms in this sequence, we must first find a pattern. We can start by looking at the first two terms. To find a pattern, we need to know what to do to one term to get to the second term.
We can start by find out what we have to add. We can do this by subtracting. 40-10 is 30. Now we need to test this pattern out with the second and third terms. 40 + 30 is 70. Since 70 is not 160, we have to try to find another pattern.
Now we can try to use multiplication and division. We can find what we should multiply one term by to get the next term. 40/10 = 4, so we have to multiply each term by 4 to get the next term. Now we have to test this with the second and third terms. 40 * 4 = 160, so this pattern works.
The fourth term would be 160 * 4, which is 640.
The fifth term would be 640 * 4, which is 2560.