I have changed your blue text, which some people find difficult to read, to the code format by changing the surrounding tags; aklways use the code tags because you can see how much better they make your code look (). What you can't see is that the code should be in three separate blocks, one for each package. It would then look like this:-Please tell us where such questions come from to avoid copyright problems.
Please tell us what you think the correct answers would be; we don't give out complete answers. By the way: it is permissible to import the same thing twice.
Your post has been moved to a more appropriate location.