Construct a musical work that combines the specified musical pattern's alphabetical representation and the given melodic motif.
X:1
L:1/8
M:4/4
K:D
['d2 AG', 'defg affa']  
X:1
L:1/8
M:4/4
K:D
|: d2 AG FDDF | GEEA FDDA | d2 AG FDDg | fdec d2 dA :: defg affa | beed cAAc |1 defg affa | 
 beec d2 AB :|2 BGGB FDDg | fdec d2 dA ||  