Let's call the number we're trying to find "x".
We know that 10% of x is equal to 2.
So, we can set up the equation:
0.1x = 2
To solve for x, we can divide both sides by 0.1:
x = 2 ÷ 0.1
x = 20
Now that we know x is 20, we can find 40% of that number:
40% of 20 = 0.4 x 20 = 8
Therefore, 40% of that number is equal to 8.