Answer:
The formation of minerals from magma depends on how quickly the magma cools- if it cools slowly the crystals are bigger, slower= smaller crystals.
The formation of minerals from solution depends on wether the solution becomes overfilled with a dissolved substance and gets supersaturated, then the individual atoms bond together and mineral crystal is formed from the solution.