Formulate melodies by adhering to the specified pattern and supplied motif.
X:1
L:1/16
M:3/4
K:G
['G2B2B2d2 dcBc d4 c2BA B2G2 G2B2B2d2 dcBA', 'A8 e2cd e2cd e2g2 fgaf d2d2 d4'  
X:1
L:1/16
M:3/4
K:G
 G2B2B2d2 dcBc | d4 c2BA B2G2 | G2B2B2d2 dcBA | c4 A8 :: e2cd e2cd e2g2 | fgaf d2d2 d4 | 
 e2ed c2B2A2G2 | FGAF G4 G,4 :|  