Attached is the question

Reddy S