Compose a piece of music following the given alphabetical representation of the musical structure and the provided motif.
X:1
L:1/4
M:4/4
K:C
['B A G', 'B A G']  
X:1
L:1/4
M:4/4
K:C
 B3/2 A/ G d | c B A G | G/A/ B A G | G/A/ B G/A/ B | G/A/ B A G | B3/2 A/ G d | c B A G | 
 G ^F G2 :: d2 e3/2 d/ | c B A G | G/A/ B A G | G/A/ B G/A/ B | G/A/ B A G | d2 e3/2 d/ | c B A G | 
 G ^F G2 :|  