I have attached the problem that I have to solve. I have never had any lectures on this topic but I have to give the answer and I need help.
Thanks
Hey homalina.
You need to show what you are thinking and what you have tried: you can't just get someone to do all the work for you. We can give you hints (even substantial hints), but we can't do it all for you.