"1. A mineral can be formed through evaporating salt water which is when salt water evaporates.
you can do this at home with a bottle and mix salt and water together and see what happens when it dries up.
Examples: Gypsum and Halite
2. A mineral can also be formed through hot water solutions which is when ground water works its way down and is boiled by ground magma.
Examples are Gold, copper sulfur pyrite and galena."