Compose melodic phrases utilizing the specified musical pattern and the provided motif.
X:1
L:1/8
M:4/4
K:Ddor
['A,D (3DDD A,DFD', 'D2 Aa^ga efdf ec (3ccc'  
X:1
L:1/8
M:4/4
K:Ddor
|: A,D (3DDD A,DFD | DCA,C G,CEC | A,D (3DDD A,DFD | EGcG EDDC | A,D (3DDD A,DFD | DCA,C G,CEC | 
 A,D (3DDD A,DFD | EGcG ED D2 :: Aa^ga efdf | ec (3ccc Gcec | Aa^ga efdB | cAGE ED D2 | 
 Aa^ga efdf | ec (3ccc GcEc | DEFA GEcE | GEcE ED D2 :|  