El profesor se sorprenderá mucho al ver tu solución correcta😉
(a∨(¬a))∧(((a∧e∧g∧n)|(a∨l))|(l∧(1|l))|(l∨(0|l)))
+---+---+---+---+---+--------+ | a | e | g | l | n | result | +===+===+===+===+===+========+ | 0 | 0 | 0 | 0 | 0 | 1 | +---+---+---+---+---+--------+ | 0 | 0 | 0 | 0 | 1 | 1 | +---+---+---+---+---+--------+ | 0 | 0 | 0 | 1 | 0 | 1 | +---+---+---+---+---+--------+ | 0 | 0 | 0 | 1 | 1 | 1 | +---+---+---+---+---+--------+ | 0 | 0 | 1 | 0 | 0 | 1 | +---+---+---+---+---+--------+ | 0 | 0 | 1 | 0 | 1 | 1 | +---+---+---+---+---+--------+ | 0 | 0 | 1 | 1 | 0 | 1 | +---+---+---+---+---+--------+ | 0 | 0 | 1 | 1 | 1 | 1 | +---+---+---+---+---+--------+ | 0 | 1 | 0 | 0 | 0 | 1 | +---+---+---+---+---+--------+ | 0 | 1 | 0 | 0 | 1 | 1 | +---+---+---+---+---+--------+ | 0 | 1 | 0 | 1 | 0 | 1 | +---+---+---+---+---+--------+ | 0 | 1 | 0 | 1 | 1 | 1 | +---+---+---+---+---+--------+ | 0 | 1 | 1 | 0 | 0 | 1 | +---+---+---+---+---+--------+ | 0 | 1 | 1 | 0 | 1 | 1 | +---+---+---+---+---+--------+ | 0 | 1 | 1 | 1 | 0 | 1 | +---+---+---+---+---+--------+ | 0 | 1 | 1 | 1 | 1 | 1 | +---+---+---+---+---+--------+ | 1 | 0 | 0 | 0 | 0 | 1 | +---+---+---+---+---+--------+ | 1 | 0 | 0 | 0 | 1 | 1 | +---+---+---+---+---+--------+ | 1 | 0 | 0 | 1 | 0 | 1 | +---+---+---+---+---+--------+ | 1 | 0 | 0 | 1 | 1 | 1 | +---+---+---+---+---+--------+ | 1 | 0 | 1 | 0 | 0 | 1 | +---+---+---+---+---+--------+ | 1 | 0 | 1 | 0 | 1 | 1 | +---+---+---+---+---+--------+ | 1 | 0 | 1 | 1 | 0 | 1 | +---+---+---+---+---+--------+ | 1 | 0 | 1 | 1 | 1 | 1 | +---+---+---+---+---+--------+ | 1 | 1 | 0 | 0 | 0 | 1 | +---+---+---+---+---+--------+ | 1 | 1 | 0 | 0 | 1 | 1 | +---+---+---+---+---+--------+ | 1 | 1 | 0 | 1 | 0 | 1 | +---+---+---+---+---+--------+ | 1 | 1 | 0 | 1 | 1 | 1 | +---+---+---+---+---+--------+ | 1 | 1 | 1 | 0 | 0 | 1 | +---+---+---+---+---+--------+ | 1 | 1 | 1 | 0 | 1 | 1 | +---+---+---+---+---+--------+ | 1 | 1 | 1 | 1 | 0 | 1 | +---+---+---+---+---+--------+ | 1 | 1 | 1 | 1 | 1 | 1 | +---+---+---+---+---+--------+