Complete exercises 3 & 4