Let the present age of Prerna =x years
According to the given condition
Age of her Kailash =(6x−2) years
After 5 years
Age of Prerna=(x+5) years
Age of Kailash =[(6x−2)+5]=(6x+3) years
Product of their ages after 5 years is 330
(x+5)(6x+3)=330
∴ 6x2+33x+15=330
∴ 6x2+33x−315=0
∴ 2x2+11x−105=0
∴ 2x2+21x−10x−105=0
∴ (2x+21)(x−5)=0
∴ x=−212 OR x=5
∴ x=5 (age cannot be negative)
Thus, present age of Prerna =5 years
Present age of Kailash =x−2=28 years
Then, Age of Kailash when Prerna was born will be 5 years less than his present age =23 years