Write the verb in brackets in the Past Perfect Tense.
Our brother went to meet his friends after he ... \(to do\) his homework.