dia 6 - composition of functions