2. a) The arrow diagram for g o f should have the set X on the left and the set Z on the right. To determine where to place the arrows, start at each element of X and trace a path to decide which element of Z is the correct image.
b) The range of g o f will be the set of elements of Z which occur as an image of an element of X.