Consider
Injectivity:
⇒ a and b have the same image x.
Also c and d have the same image z
So,
is not one-one.
Surjectivity:
Co-domain of
={x, y, z}
Range of
=set of images = {x, z}
So, the co-domain is not same as the range.
So,
is not onto.