A 45-year-old male patient has non-salvageable foot despite multiple revascularization attempts, which had failed. He has agreed for amputation. How will you decide on the level of amputation, and what are the local and systemic complications of major amputation?