例例文
He cheated on the test, but he didn't get away with it.
彼はテストで不正をしたが、ばれずには済まなかった。
EN英英で言うと
to do something wrong without being caught or punished
源語源・イメージ

get away「逃げる」+with「~を持ったまま」。悪事を持ったまま逃げおおせる。
前置詞のイメージ:away=遠くへ離れていくwith=一緒に・関わる
!入試ポイント
get away with murder(何をしても許される)も。get away(逃げる・休暇に出る)とは別。
with の後ろは悪事・ずる(get away with cheating)。「~を罰せられずにやりおおせる・~をしても見つからない」。get away with it が定番。「(軽い罰)で済む」(get away with a warning)の意味もある。
同じ意味escape punishment for ~
VSここが違う!
get away with ~vsget away from ~
get away from は「~から逃れる・離れる」(get away from the city)。get away with は「(悪事)をしてもとがめられない」。見分け方:from + 場所・人なら逃げる、with + 悪事なら罰を免れる。
He cheated on the test and got away with it. / I want to get away from the noise.
覚覚え方
悪事を抱えたまま(with)逃げおおせる(get away)、という絵で覚える。You won't get away with this!(ただでは済まないぞ)は映画でもおなじみ。
Q入試形式の例題
He copied his friend's homework, but the teacher noticed. He didn't get away it.
「(悪事)をして罰を免れる」は get away with ~。from を使うと get away from ~(~から逃れる)で、it(宿題を写したこと)から離れる意味になり文脈に合わない。of / by も get away と組んでこの意味にならない。