Formulate melodies by adhering to the specified pattern and supplied motif.
X:1
L:1/8
Q:1/8=100
M:6/8
K:D
['f2 d a2 f d2 A d', 'a bbg aag f>ed e2 A ddc'  
X:1
L:1/8
Q:1/8=100
M:6/8
K:D
 f2 d a2 f | d2 A d f2 | e g2 f>ed | Bde/f/ g2 a |: | bbg aag | f>ed e2 A | ddc ddA | f e2 d3 ::  