If I _____ more time, I _____ learned Spanish by now.
Correct: B
This is a third conditional sentence, used to express hypothetical situations in the past and their hypothetical results. The correct structure is 'If + past perfect (had + past participle), would have + past participle.' Therefore, 'had had' for the past perfect and 'would have' for the result are correct.