run out of something
- to use all of something - to have nothing left.
e.g.
The printer has run out of ink. Can you change the cartridge please?
We only have a couple of weeks to finish the project - we're running out of time!
figure something out
- to finally understand something or find the solution to a problem after a lot of thought.
e.g.
It took me a few days to figure out how to use the new software.
He's checked the machine 3 times, but he still can't figure out why it's not working.