'in' and 'at' are prepositions. The prefix 'pre' in prepositions means before, just like the same prefix in 'prefix'. That means, choosing which prepositions to use depends on the word that come after, not before. That is why without knowing what you mean, no one cannot answer your question. Check this out for more about prepositions: