Compose melodic phrases utilizing the specified musical pattern and the provided motif.
X:1
L:1/8
M:4/4
K:D
['dB A2 dA', '(3aba fd Adfa (3gag ec Acef g3'  
X:1
L:1/8
M:4/4
K:D
|: dB | A2 dA (3Bcd AF | DFAF EA,CE | DFAF GBed | cABc d2 dB | A2 dA BdAF | DFAF EGFE | DFAF GBed | 
 cABc d2 :: fg | (3aba fd Adfa | (3gag ec Acef | g3 f gbag | fgef d2 ef | (3aba fd Adfa | 
 (3gag ec Acef | g3 f gbag | fgef d2 :|  