Added ex 3-5 to same file as ex 3-4