You can't! In order to get these Pokemon you must transfer them from Gen5 using PokeBank.
You can get Cottonee in Pinwheel Forest, Abundant Shrine, and Lostlorn Forest in Black,
and Castelia City, Pinwheel Forest, Lostlorn Forest, Abundant Shrine, Victory Road in Black 2.
Same locations for Whismicott.