Design tunes that follow the specified musical pattern while integrating the presented motif
X:1
L:1/8
M:2/4
K:D
['A>B AB/c/', 'ag/f/ gb e>f gb ba/g/ fa ef'  
X:1
L:1/8
M:2/4
K:D
|: A>B AB/c/ | d>e dc | B>A Bc/d/ | e>d ef | A>B AB/c/ | de f>e | dB Af |1 e2 d>B :|2 e2 d |: 
 fa d>e | fa ag/f/ | gb e>f | gb ba/g/ | fa ef | de f>e | dB Af |1 e2 d>e :|2 e2 d2 ||  