Four key prepositions: di = possession/origin/material; a = city/indirect object/time; da = from/since/at someone's place; in = country/region/room/transport.
di, a, da, in — Four-Way Contrast1 / 10
Lavoro qui ___ tre anni. (I've been working here for three years.)