The main way of unlocking new levels and trucks is by setting great times or achieving a certain distance on the tracks available to you. You can also unlock them by buying them with Gold Coins.

Check how to unlock levels and trucks by highlighting the one you want in the selection menu, it will show you the requirements for each one there.