sheet6: exercises 1,2 in tex file