How to use "invent" in a sentence

Sentences

Where was Cham, the real Cham? She had to invent something fast

'Well, we have to invent a life where people can live and have children, and be safe enough to bring the children up