... 前に => Before ... N4
Relationship before and after
... 前に => ... in front of, before N4
Relationship before and after
前に => before; in front of ~ N5
を前提に => On the premise of N1
Premise
~[前「まえ」]に => Before N/Vる(occurs/happens) N5
Time
~はめになる(~羽目になる)     => to get stuck with (some job); to end up with (something unpleasant) N1
手前 => considering; before; in front of; one’s standpoint N1
当然だ/当たり前だ => natural; as a matter of course N2
の下で/の下に => under; with ~ N2
ば~のに/たら~のに => would have; should have; if only ~ N3
のうちに => Within... N3
Limit
でも~のに => Even... also..., then... N2
Demonstrate by example