Resuelve

Ayúdate con el diagrama de árbol