"Assuming l is a list and elem is an element, how can I return the last occurence of the element elem in the list l?" . . . .