Sentence

私はその数学の難問に首をひねった。

(わたし)はその数学(すうがく)難問(なんもん)(くび)をひねった。
I puzzled over the difficult math problem.
Sentence

僕は首をひねる。このポーンではなくて、こっちのナイトを・・・。

(ぼく)(くび)をひねる。このポーンではなくて、こっちのナイトを・・・。
I tilt my head. Not the pawn, but the knight?