In 2004, the population of New York City was 5 million less than the population of Shanghai, China. The population of New York City was 8 million. Create an equation to represent this problem. Then, solve the equation to find the population of Shanghai