Pick a solute, pick a solvent, then press stir. The crystal only comes apart when the new attractions can pay for the old ones. That is the rule called like dissolves like.
Heat speeds the mixing up. It does not change which pairs can mix.
Molarity here assumes the volume stays at 50.0 mL. Real volumes shift a little when a solid goes in.