contestada

Add the punctuations:
Three of the islands-Hawaii, Maui, Oahu-contain most of the major cities David.

Should I have comma after “Oahu” and “contain”?

If you could, please tell me why they put David at the end. It doesn’t make sense to me.