<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def targetwords(self, index, targetwords, alignment):
 """Return the aligned targetwords for a specified index in the source words"""

        return [ targetwords[x] for x in alignment[index] ]