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
['fg efdB A F3 DFAF B G3', 'A2 efdB A F3 DFAd B G2']  
X:1
L:1/8
M:4/4
K:D
 fg |:"D" agfg"Em" efdB |"D" A F3 DFAF |"G" B G3 EFGE |"D" FAAG FA A2 | agfg"Em" efdB | 
"D" A F3 DFAd |"G" B G3"A7" G2 ag | fgeg"D" fd d2 :|  