If he (came) to me, I would have helped him

If he (came) to me, I would have helped him

Explanation

Correct sentence:

"If he had come to me, I would have helped him."

This is intended to be a third conditional sentence

If + past perfect, would have + past participle

 The right choice ("had come") is not among the options.