Pergunta de entrevista da empresa Magic Leap

Identify and print the axiom and rules from a tree.