What is the molarity (M) of a solution made of 2.0 moles of solute in 400 mL of solution? Can someone help me? I'm kinda stuck on this.

M = moles/liter

So, for your solution,
2.0mole/0.4L = 5.0M