Question

How do you know which solvent and which nucleophile and base to use for the reagents of substitions and elimination reactions?