Глагол 'know' в Present Perfect с местоимением 'You' будет 'have known'.
Ответ: You have known David for ten years.