population-of-two-cities

we want to know how many years that a city take to be more population than another, if you know that the first have 1 million people and its added 50000 people in year, but the other have 500000 and its added 8 % of number of people in a year