Let's have a look to the explanation and practise a bit first:
Activity 1 Activity 2 Activity 3 Activity 4