Develop melodies by incorporating the given motif and following the suggested musical layout.
X:1
L:1/8
M:4/4
K:G
['B2 AB cBAG E2 AE BEAE', 'd2 Bd'  
X:1
L:1/8
M:4/4
K:G
|: Bc | d3 e dBGA | B2 AB cBAG | E2 AE BEAE | AcBA GAGE | DGBe dBAG | B2 AB cBAG | E2 AE BEAE | 
 AGFA G2 :: Bc | d2 Bd gdBd | e2 ce afge | d2 Bd cBAG | EGAB c2 Bc | d2 Bd gdBd | e2 ce afge | 
 d2 Bd cBAG | AGFA G2 :|  