Construct a musical work that combines the specified musical pattern's alphabetical representation and the given melodic motif.
X:1
L:1/8
M:2/4
K:D
['D>EFG AAA z B>cdB BAA z GEFD']  
X:1
L:1/8
M:2/4
K:D
 D>EFG | AAA z | B>cdB | BAA z | GEFD | ECD z | GE/G/FD/F/ | ECD z |]  