This is a mixed conditional sentence. 'If I had a car' (past tense) combined with 'would have driven' indicates a past counterfactual situation - something that didn't happen in the past but we're imagining. 'Will drive' is future, 'would drive' is present/future conditional, and 'have driven' lacks the auxiliary.