sheet6: exercise 3 and tex file