in reply to Difference Between Two hash
This homework is intended to teach you how to navigate inside hashes. I would read the tutorial here and perldata.
There are built in functions in Perl for retrieving the keys and values of a hash. You'll be using those as well as the direct form of access. Show us what you have for code, and we can offer suggestions. It won't help you for us to do your homework for you, especially on fundamentals like this.
In Section
Seekers of Perl Wisdom