Answer:
Her words were light that brightened my dim soul.
Step-by-step explanation:
First, we need to know that metaphor is a figure of speech that describes an object or action in a what that is not literally true.
In this case, the inspiration you got through your teacher's words is expressed on 'words were light' (here the amazing words she used) and also, 'brightened my dim soul' (here the inspiration that 'illuminates' you)