Compose a musical piece using the given motif and adhering to the outlined musical form.
X:1
L:1/4
M:6/4
K:G
['A A']  
X:1
L:1/4
M:6/4
K:G
 G | G2 G B B B | d2 d/e/ d2 d | e e e e2 e | g3 z2 g | a2 A A A A | B3 f2 f | f2 B d2 B | d4 z |]  