figure out
verb
Meaning
To come to understand; to discover or find a solution; to deduce.
"As soon as I figure out what is wrong with my car, I will fix it."
To calculate.
"We'd already figured out that the trip would cost $1,000."