Detroit is roughly 6.5% of the population in MI. Philadelphia is roughly 12.5% of the population in PA.
In that case, if Trump fails to win PA, he needs to win one of the following states (MI, MN, WI) to win reelection.