Please give correct answer with clean hand writing and explain step…