Here are further explanations of how each of the aforementioned is achieved: