Compose melodic phrases utilizing the specified musical pattern and the provided motif.
X:1
L:1/8
M:4/4
K:C
['D2 (3DDD DFAA defe dcBA', 'f>d (3dcd'  
X:1
L:1/8
M:4/4
K:C
[M:2/2][K:D] .abc D2 | D2 (3DDD DFAA | defe dcBA | FA A2 BA A2 | GFED CEA,C | D2 (3DDD DFAA | 
 defe dcBA | FAAA BAGE | D2 (3DDD D2 :: (de) | f>d (3dcd A>d (3dcd | f>d (3dcd bgaf | gfec Acef | 
 (3(gag) b>g agfg | Adcd(3(Bcd) AF | Adcd (3(Bcd) A2 | Adfa gece | d2 (3ddd d2 :|  