Even and odd functions - Problem type 2