Hi @priks_24,
Welcome to the community!
Your question seem to pertain to homework, so please read the Homework Policy.
You won't learn anything from being giving the answers, so please do show us what you have tried and then I'm sure people will be happy no nudge you in the right direction