Compose melodic phrases utilizing the specified musical pattern and the provided motif.
X:1
L:1/4
M:4/4
K:D
['D E =F']  
X:1
L:1/4
M:4/4
K:D
 D | D3/2 E/ =F E | D2 =C A, | D E =F E/D/ | E2 z D | E =F G E | =F2 E D | C D D C | D2 z |]  