The ratio of Pooja's age to Ajay's age is 1 : 3. The ratio of their ages after 8 years will be 1 : 2. How many years ago was the ratio of their ages 1 : 5?