Design tunes that follow the specified musical pattern while integrating the presented motif
X:1
L:1/8
M:2/4
K:D
['g/e/c/A/ G>B BA A>d dc', 'f3 f'  
X:1
L:1/8
M:2/4
K:D
 f/ | g/e/c/A/ G>B | BA A>d | dc c>e | ed d>f | g/e/c/A/ G>B | BA A>d | dc c>e | edd :| a/ | 
 (ab) (c'd') | f3 f | (fg) (^ga) | d3 d | dfad' | f'3 e' | (d'2 a2) (c'3 b) | a3 a | (ab)(c'd') | 
 f3 f | ffga | b3 b | bb c'b | b3 a | (^ga) (f'>e') | d3!D.C.! ||  