Compose melodies using the provided alphabetical pattern of the musical arrangement and the given motif.
X:1
L:1/8
M:4/4
K:G
['BA G3 A BABd effe dBAG', 'ga b g3 af gage d2 Bd', 'B2 AG']  
X:1
L:1/8
M:4/4
K:G
|: BA | G3 A BABd | effe dBAG | EAAG ABAG | EAAG ABc BA | G3 A BABd | effe dBAG | E G3 BGAG | 
 EDEF G2 :: ga | b g3 af | gage d2 Bd | eaag abag | eaag a2 ga | b g3 af | gage d2 Bd | e g3 bgag | 
 edef g2 :: Bd | e3 c d2 dB | c3 A B2 AG | EAAG ABAG | EAAG ABcd | edce d2 Bd | c2 Ac B2 AG | 
 E G3 BGAG | EDEF G2 :|  