Construct tunes that conform to the predetermined musical pattern, featuring the provided motif.
X:1
L:1/16
M:3/8
K:D
['A2 .f2(ag)e2 .c2(ba)a2 .e2(gf)d2 c2(eg)b2 f2(ag)e2 c2(ba)a2', 'a2 a2(^ga)=g2 f2(^ef)=e2'  
X:1
L:1/16
M:3/8
K:D
 A2 | .f2(ag)e2 | .c2(ba)a2 | .e2(gf)d2 | c2(eg)b2 | f2(ag)e2 | c2(ba)a2 | e2(gf)e2 | d4 :: a2 | 
 a2(^ga)=g2 | f2(^ef)=e2 | d2ceca | g2f2 a2 | a2(^ga)=g2 | f2(^ef)=e2 | (dcdefe) | d4 :|  