Using the given motif, compose a musical work that follows the prescribed musical form.
X:1
L:1/8
M:4/4
K:G
['Bg g2', 'G3 A'  
X:1
L:1/8
M:4/4
K:G
|: A | BGFG EFGA | Bg g2 edBA | GEGA BGEF | (3AFE ED EB, B,2 | GEGA B2 GA | Bg g2 efga | 
 (3bag af g2 ef | ecAF G3 :: A | Bdef gdea | bagf edBA | BGEF G3 A | Bdfd d2 ef | G2 AF G2 ED | 
 (3B^cd A=c BGEF | G2 BG FGAc | BGAF G3 :|  