The answer is b, least to greatest motion.
The higher the temperature a substance is, their particles have more kinetic energy and thus move faster and have a faster motion.
From the pictures, we can see that the state changes from the coldest, ice, to the least cold, water, and to the hottest, steam. Therefore, the hotter the substance it, the water molecules have a greater motion.
So your answer is b.
It tends to in increase because the size of the atoms increase.