Calculate the molarity of the following.

45 grams of Na2SO4 dissolved to make 500 ml of solution

30 grams of C4H8O4 dissolved to make 450 ml of solution