~{前|まえ}に
'before …', '… ago'
N5
V (dictionary form) + {前|まえ}に | N + の + {前|まえ}に | Length of time + {前|まえ}に
Before {前|まえ}に always use the dictionary form, even for past events: {寝|ね}る{前|まえ}に (not {寝|ね}た{前|まえ}に). With nouns add の: {仕事|しごと}の{前|まえ}に. With a length of time there is no の and it means 'ago': {三年前|さんねんまえ}に. At work you'll hear {仕事|しごと}を{始|はじ}める{前|まえ}に、{手|て}を{洗|あら}ってください.
Examples
仕事を始める前に、手を洗ってください。
Please wash your hands before you start work.
毎晩、寝る前に日本語を勉強します。
Every night I study Japanese before bed.
三年前に日本へ来ました。
I came to Japan three years ago.
Exercises
1.家を 前に、電気を消しました。
2.ご飯 前に、手を洗います。