Formulate melodies by adhering to the specified pattern and supplied motif.
X:1
L:1/8
Q:1/4=130
M:4/4
K:G
['DGBG dGBG DGBG EA A2 DGBG dGBg', 'dg g2'  
X:1
L:1/8
Q:1/4=130
M:4/4
K:G
 DGBG dGBG | DGBG EA A2 | DGBG dGBg | dcBA GG G2 :: dg g2 dgbg | agbg ea a2 | dg g2 dgbg | 
 agbg dg g2 | dg g2 dgbg | agbg ea a2 | gbeg dgBg | dcBA GG G2 :|  