Compose melodies by merging the prescribed musical pattern and the supplied theme.
X:1
L:1/8
M:2/2
K:D
['[FA])FAF dFAF', '(3(ABc d)dfd adfd adfd a2'  
X:1
L:1/8
M:2/2
K:D
 D([EA-] | [FA])FAF dFAF | dFAF [Fd]2 (3(DEF | G)GBG dGBG | dGB(G [Gd]2) ([DA-]([EA-]) | 
 [FA])FAF dFAF | ddAd defa | fedB AFDE | FFA(F [Fd]2) :: (3(ABc | d)dfd adfd | adfd a2 (ef | 
 g)ege bege | bege be (3(ABc | d)dfd adfd | adfd a2 fa | fedB AFDE | FFA(F [Fd]2) :|  