Compose melodies by merging the prescribed musical pattern and the supplied theme.
X:1
L:1/16
M:2/4
K:D
['e2d2 B2G2 A2D2 D2df e2d2'  
X:1
L:1/16
M:2/4
K:D
"D" FAAA BAAA | FAAA f4 |"A7" fee2 egfe |"D" dffd A4 | FAAA BAAA | FAAA F4 |"A7" fee2 egfe |1 
"D" d2d2 d2 z2 :|2"D" d2d2 d2dg |:[K:G]"G" e2d2 B2G2 |"D7" A2D2 D2df | e2d2 c2AB |"G" A2G2 G2dg | 
 e2d2 B2G2 |"D7" A2D2 D2df | e2d2 dcBA |1"G" G2B2 G2fg :|2"G" G2B2 G2 z2 |]  