This is obviously homework. While we will help you with it, you have to show some effort. Show us what you have so far.
But you didn't even take the time to put the tables in a consumable format so that we can play with it on our own machines. Screenshots do not help us when it's code.
Also you did not say what you were having problems with.