The correct answer is could.
The verb "could" is used to talk about ability in the past. In this case, the question is asking about the speaker's ability to swim when they were five years old. The speaker is not asking about their ability to swim now, so the verb "can" is not appropriate. The verb "do" is not used to talk about ability, so it is also not appropriate. The verb "are" is used to talk about identity, so it is also not appropriate.
Here are some examples of how the verb "could" is used to talk about ability in the past:
- I could swim when I was five years old.
- She could play the piano when she was a child.
- They could speak French when they lived in Paris.
In each of these examples, the speaker is talking about an ability that they had in the past but no longer have.