Design melodies by integrating the specified musical pattern and the provided motif.
X:1
L:1/8
M:4/4
K:G
['d2 BG', 'dg g2'  
X:1
L:1/8
M:4/4
K:G
 d2 BG dG G2 | dGBG ABcA | d2 BG DGBG | cBAB c2 Bc :| dg g2 dgec | dg g2 ABcA | dg g2 defd | 
 cBAB c2 Bc :|  