Design melodies by integrating the specified musical pattern and the provided motif.
X:1
L:1/4
M:4/4
K:D
['D D']  
X:1
L:1/4
M:4/4
K:D
 D D D | A B =c A | A2 z A/G/ =F E | D D =C D | A E D2 | z D D D | A B =c A | A2 z A/G/ =F E | 
 D D =C D | A E D2 | z D E =F | G A G =F | G2 z D | E =F G A | G =F G2 | z A/G/ =F E | E D =C D | 
 =F E D2 | z |]  