Sentence

われわれは英検2級に受かるために勉強しているのです。

われわれは(えい)(けん)(きゅう)()かるために勉強(べんきょう)しているのです。
We are studying in order to pass the STEP 2nd grade test.
Sentence

君の成功は英検の試験に合格するかどうかにかかっている。

(きみ)成功(せいこう)(えい)(けん)試験(しけん)合格(ごうかく)するかどうかにかかっている。
Your success depends on whether you pass the STEP examination or not.