Compose melodies by merging the prescribed musical pattern and the supplied theme.
X:1
L:1/8
M:4/4
K:D
['FAdf edef g2 fg edBc dBAF', 'faba afdf efdB AFDF EFDf afdf e'  
X:1
L:1/8
M:4/4
K:D
|: FAdA BAdA | FAdf eBBA | FAdA BAdB | AFEG FDDG |1 FAdA BAdA | FAdf edef | g2 fg edBc | 
 dBAF EFDG :|2 FA A2 dABA | FAdf edef | g2 fg edBc | dBAF EF D2 |: afdf efdf | afde faba | 
 afdf efdB | AFDF EFDf | afdf e B3 | afdA (3Bcd ef | g2 fg edBc | dBAF EF D2 :|  