Q1. Cartoon

Q2. Task Identification

Click on the above link for the solution of the above problem