calculate the molarity of a solution with .2 moles of sodim hydroxide dissolved in .5L of water

You have to be kidding.

Molarity= moles/literssolution= .2/.5