Have you learned the poem by heart? - ¿Te has aprendido el poema de memoria?
Have you learned the poem by heart?
¿Te has aprendido el poema de memoria?
Everyone in the class learned the poem by heart. - Todos en la clase aprendieron el poema de memoria.
Everyone in the class learned the poem by heart.
Todos en la clase aprendieron el poema de memoria.