Formulate melodies by integrating the designated musical pattern and the supplied motif.
X:1
L:1/16
M:2/4
K:G
['gdBd gdBd efge edcB cdec cBAG', '(DG).B.d (DG).B.d cBAG FAFD'  
X:1
L:1/16
M:2/4
K:G
 gdBd gdBd | efge edcB | cdec cBAG | FGAB AFED | gdBd gdBd | efge edcB | cdec cBAG | D2F2 G4 :: 
 (DG).B.d (DG).B.d | cBAG FAFD | GBAc Bdge | dBGB A2D2 | (DG).B.d (DG).B.d | cBAG FAFD | 
 (gf).e.d (cB).A.G | D2F2 G4 :|  