REWRITE THE SENTENCES, USING THE NOUNS IN BRACKETS AND A TO-INFINITIVE...

3. I was surprised when I saw that my friend can do a magic. (ability). I was surprised when I saw that my friend has ability to do a magic...