Correct

迫不得已

/ pò bùdéyǐ / 
Strokes

Definition

to have no alternative (idiom); compelled by circumstances/forced into sth

Example

Definition

be compelled by circumstances; have no alternative (but to); when push comes to shove

1
Tā
他
nàyàng
那样
zuò
做
wánquán
完全
shì
是
pòbùdéyǐ
迫不得已
  
。

He was compelled/forced to do that.

2
Pòbùdéyǐérwéizhī
迫不得已而为之

do sth by compulsion; be forced to do sth