What is it that you don’t understand? It would be a good idea to outline whether there are specific parts to the working that you don’t understand so that you may receive additional assistance.
another way to look at ii is kinda the same method as i but since theyre opposite concavities, their second derivatives are negatives of eachother at x0