He aquí la solución al segundo examen de entrenamiento:
SOLUCIÓN AL SEGUNDO EXAMEN DE ENTRENAMIENTO - PARCIAL 2