Pergunta de entrevista da empresa Superheat Fgh

How do you rewrite a even and odd function?