Quick question about water temps

Do I have this right?

Cold pre wash,

Hot wash with detergent,

Then one or two warm final rinses?

Also does anyone know if well-water affects washing?

Thank you!!!