In: Anatomy and Physiology
Molarity is defined as number of moles of solutes in 1 litre of solution.
Molarity =no. of moles of solute / Volume of solution in L
In the 1st case given in the question, denominator( volume of solution) is same for all solution.On plotting this in a graph, we will get an inference that molarity increases with increase in mass of solute in solution.
In the second case, numerator of the equation ( mass of solute) is same for all solutions. But denominator changes.
On plotting this in a graph, we will get an inference that molarity decreases with increase in volume of solution when mass of solute is same.