Construct tunes that conform to the predetermined musical pattern, featuring the provided motif.
X:1
L:1/8
M:4/4
K:D
['(dB) AFDF A2 (dc) BABd e2 (de)', '(gf) gfga b2 (ag) fgag fgfe defd'  
X:1
L:1/8
M:4/4
K:D
|: (dB) | AFDF A2 (dc) | BABd e2 (de) |1,3 fgfe fgfe | defd B2 :|2,4 fgfe dfag | f2 d2 d2 :: (fg) | 
 afdf a2 (gf) | gfga b2 (ag) | fgag fgfe | defd B2 (dB) | AFDF A2 (dc) | BABd e2 (de) | fgfe dfag | 
 f2 d2 d2 :|  