Definition: to find the answer to a problem, a question, or the reason for something by investigating it and thinking about it carefully.
E.g.1. I can’t figure out why these totals don’t match.
E.g.2. I’ve finally figured out why she got so upset yesterday.
This phrasal verb can be separated.