What were the terms decided in the Molotov-Ribbentrop pact signed between Germany and Russia?

A.
The two countries would divide Japan.
B.
The two countries would not attack each other.
C.
The two countries would attack America.
D.
The two countries would attack Japan.