the the two processes and machines to extract minerals