One-Shot Copy-Paste Version with Proper Formatting

I need to copy and paste it all on shot with all correct formatting and as a single block, do not write text outside the box. Include all codes formatting.