Formulate melodies by adhering to the specified pattern and supplied motif.
X:1
L:1/8
M:4/4
K:Gdor
['DGGA BGAF DGGA', 'b2 ag'  
X:1
L:1/8
M:4/4
K:Gdor
|: DGGA BGAF | DGGA BGAF | DGGA BABd | c2 AF DFAF | DGGA BGAF | DGGA BABc | dgdB cfcA | 
 BGGF G3 F :: dgga b2 ag | fdcA FGAc | dgga bagf | dggf g3 a | b2 ag a2 ge | fdcA FGAc | 
 d2 cA BAGF | DGGF G4 :|  