Try working through Mathematica fast intro for math students
Then look at some of the other introductory material available on the web.
Or if you are very very old school then there are many good books printed on paper to help you.
For the specific errors that you saw when you tried to type in the example that I showed you,
you cannot insert spaces in the middle of things, Mathematica is INTENSELY case sensitive so you cannot use lower case letters when I showed upper case letters, you cannot substitute ( for [ or ) for ] because those mean completely different things to Mathematica.
Perhaps, if you can, scrape my example off the screen and paste that into the Mathematica screen and see if that works.