Compose melodies by merging the prescribed musical pattern and the supplied theme.
X:1
L:1/8
Q:1/8=120
M:2/4
K:D
['AF A>A BG B>B Ad f>d', 'Ad f>g fe e>d ef'  
X:1
L:1/8
Q:1/8=120
M:2/4
K:D
 AF A>A | BG B>B | Ad f>d | ed B/c/d/B/ | AF A>A | BG B>B | Ad f>d | ed d>B :| Ad f>g | fe e>d | 
 ef ga | ba f>d | Ad f>g | fe e>d | ef a>f |1 ed d>B :|2 ed d2- | d4 ||  