Hi Help Wanted,
You could be clearer by saying either -
'My teacher explained to me what would happen if I didn't eat breakfast.'
'Our teacher explained to us what would happen if we didn't eat breakfast.'
Hope this is of help,
- For Teachers