i need solution to the attached questions, solution should include all requirements? Nural network , perceptrons.