A good way to remember this is that after ''Si'' you use the imperfecto de subjuntivo or the subjuntivo pluscuamperfecto but never the presente de subjuntivo.
1.Si tuviera un cohe, no cogería el autobús
2. Si te hubiera visto, te habría saludado.
Also after ''si'' you use the presente. Si compro esta moto mañana iré a Madrid.