work sth out
phrasal verb with work verb uk/wɜːk/ us
to calculate the cost, price, or amount of something:
Work out how many people we need to finish the project on time.
We worked out the cost of hiring two more developers.
to find a solution to a problem or situation:
We need to work out a way of improving our overseas sales.
The details of the deal are still being worked out.