Please check out the following sentences.
(1) I tried hard to stay calm and composed.
(2) I encouraged myself to rebuild my confidence.
(3) Suddenly, I hit upon a way out to a predicament.
(1) I tried hard to stay calm and composed. OK
(2) I encouraged myself to rebuild my confidence. OK
(3) Suddenly, I hit upon a way out of my predicament.
Rover
Generally, if you're in something undesirable, you need to find a way out of it.
b