Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/8
M:2/4
K:G
['', 'B/c/ d>c BA GF (D/F/)A/B/ c>B AG', 'B/c/ d>c (B/G/)B/d/ g3 f e>d (c/B/)c/e/'  
X:1
L:1/8
M:2/4
K:G
 B/c/ |: d>c BA | GF (D/F/)A/B/ | c>B AG | F3 D | G>F (G/A/)B/c/ | e>d (c/B/)A/G/ | B>A AA | 
 A3 B/c/ :: d>c (B/G/)B/d/ | g3 f | e>d (c/B/)c/e/ | d3 B | cA (F/A/)c/e/ | d2 FA | D>G GG |1 
 G3 B/c/ :|2 G4 |]  