Two numbers are in the ratio of 3 : 5. If each is increased by 10, the ratio becomes 5 : 7. The numbers are :