What is the meaning of Contrive?

To invent by an exercise of ingenuity; to devise

To invent, to make devices; to form designs especially by improvisation.

To project, cast, or set forth, as in a projection of light.

To spend (time, or a period).

Source: wiktionary.org