Craft a musical piece that incorporates the given motif and follows the outlined structure.
X:1
L:1/8
M:2/2
K:G
['A/A/A cA', 'A2 g (a/g/f/e/)ca eaca Bggd BGGg (a/g/f/e/)'  
X:1
L:1/8
M:2/2
K:G
 B | A/A/A cA dccA | Bggd BGGB | A/A/A cA dBcA | Baae c A2 :: g | (a/g/f/e/)ca eaca | Bggd BGGg | 
 (a/g/f/e/) ca eaca | Baae cA A2 :|  