Idea Solution

Q.1
a397a3b0-6025-42e9-95db-08ed97679c63-image.png

Q.2
9e8f9d78-cc92-439f-991c-c89e8874b460-image.png