Given that HCF of two numbers is 5, hence these two numbers must be multiples of 5.
We assume first number is 5x and second number is 5y.
⇒5x×5y=250⇒xy=10
Here, possible values of x & y are 1 & 10,2 & 5.
That means, possible numbers are 5 & 50,10 & 25
LCM of either of these combination of numbers is 50.