Look at R1 and R2. They make a voltage divider.We know input is 5v but from where we got -5v output?
Think about if there was no op amp:
If you have +5V at the top of R1,R2.
You need 0V at the center.
What voltage must be at the bottom to get oV at the center?
Here you can see the current flow from +5V through R1, through R2, op amp output, -15V supply.