Nick had shown the teacher the picture before the bell rang.
Ответ: Nick had shown the teacher the picture before the bell rang.