let A= {1,2,3,4,5,6}. In each case give an example of a function f: A->A with the indicated properties, or explain…