For the step-by-step solution, please see the attachment. Part A, and , is executed in black ink while Part B, , is executed in blue ink. Detailed justification of each step in green. The given function is provided in red ink.
~~~
If this assisted you with explaining why each step was executed, please don't hesitate to provide a Brainlist. Thank you!