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
['g2 eg', 'g2 eg']  
X:1
L:1/8
M:4/4
K:D
 Bdeg f2 ed | Aggf g3 e | (3Bcd eg ef f2 |1 g2 eg fedA :|2 g2 eg fedf |: a2 ^ga f2 f2 | 
 afdf g2 fg | a2 ^ga f2 f2 |1 g2 eg fedf :|2 g2 eg fede |: fedf fece | dBBA c3 A | BAGB BAFD |1 
 EFGE FEDe :|2 EFGE FEDA ||  