We will use the hit and trial method to solve this question.
Let the number be x.
Now, if the number is increased by 8, it becomes double.
So, we have
x + 8 = 2x
Put x = 5.
5 + 8 ≠ 2 × 5
Put x = 6.
6 + 8 ≠ 2 × 6
Put x = 7.
7 + 8 ≠ 2 × 7
Put x = 8.
8 + 8 = 2 × 8
Therefore, the number is 8.