Answer:
See attachment
Step-by-step explanation:
We want to create a function that is neither one-to-one or on to given that:
The domain is {-4, -2, 0, 2, 4}
The codomain is [-4, -2, 0, 2, 4}
The range is {0, 2, 4}
The function in the attachment is an example of such function.
The function is not one-to-one because there are different different x-value in the domain that has the same y-value in the co-domain.
It is not an on to function because the range is not equal to the co-domain.