I Do Have The Output That It Requires Capturea Png Captureb The Literature Refer

HI! I also need help with an exercise about polymorphism (exr2.png). I do have the output that it requires (Capturea.png, Captureb.png). The literature refers to chapter 8. Ideally, I would like to have a solution within the next 7 hours but I can give a deadline of 12 hours. Do you think that you have any time to help me? Thank you for your time

* Attachment 1
* Attachment 2
* Attachment 3
* Attachment 4