Salma said to me, “Can you give me your pen ?”

Salma said to me, “Can you give me your pen ?”

Explanation

If the reporting verb is in the past tense, then the modals like can changes to could, will/shall change to would, have to changes to had to etc.

And if the sentence is interrogative, we use the reporting verbs – asked, enquired, etc.