Based on the context provided, the correct completion of the sentences would be:
- We thought our invention would work, but it failed.
- We will not rest until we figure out why.
So the filled sentences would read:
- We thought our invention would work, but it failed.
- We will not rest until we figure out why.