Hcf of two numbers is 8.one number is between 20 and other number is between 40 and 60.find two numbers.

what does "between 20" mean?

Anyway, just list the multiples of 8 and you should see what to do.