One way to determine the number is to multiply 2 and 9, this is because the resulting number will be divisible by them perfectly. Let's try:
So our candidate is 18, we need to test if it's divisible by 2 and 9 perfectly:
It is, therefore the number is 18.