solution of section assignment 5