Read the question carefully, and look at the sample you have been given - it tells you exactly what to do: get the price and weight from the user, then calculate the shipping cost shipping cost and print that, then add the price to that and print it as the total.
How you calculate the shipping cost isn't defined, but from the example, it's maybe $0.85 per kilo (which is spectacularly cheap).
If you are having problems getting started at all, then this may help:
How to Write Code to Solve a Problem, A Beginner's Guide[
^]