Answer:
We worked until 7 p.m. and were able to finish the project.
Step-by-step explanation:
Using "were able" shows a definitive action. It also makes a proper sentence grammar-wise. Using "could" leaves the idea that the project may not have been finished.