you were able to; you could
You did what you could.
Finalement, tu as pu les traîner en justice ?
So, you were finally able to take them to court?
— À bout de course (1988)
Où tu as pu voir tout ça, au moment où tout un chacun tremble pour ses fesses ?
Where could you possibly have seen all that, at a time when everyone is shaking in their boots?
— Andreï Roublev (1966)
J'espère que tu as pu acheter tout ce dont tu as besoin.
I hope you were able to buy everything you need.
Tu as fait du mieux que tu as pu.
You did the best you could.