Question

A function is defined by the following pictures. Write this function as a subset of the cartesian product of the domain

Fig: 1