what is the process of a tin from mining metal to a tin at home