In 1914 the German invasion of France failed because the Germans had to fight the Russians at the same time. The Hitler-Stalin Pact made it possible for the Germans in 1940 to defeat France, occupy as much of France as they chose, and also to conquer the Low Countries, Denmark, and Norway, The only country still resisting Hitler was Great Britain and but for the performance of the Royal Air Force in the Battle of Britain, England might have been invaded too.
Why are you telling me things I already knew? What does this have to do with the Molotov-Ribbentropp Pact (aside from the fact that fighting a two-front war is always a recipe for disaster)?
Regards,