Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)
Reference texts: A. S. Sedra & K. C. Smith, Microelectronic Circuits, 7th/8th ed. (diodes & wave-shaping Ch. 4; MOS amplifiers Ch. 7; BJT amplifiers Ch. 6–7; op-amp imperfections Ch. 2); R. C. Jaeger & T. N. Blalock, Microelectronic Circuit Design.