Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/8
M:4/4
K:G
['B2 G>B', 'BdBd e2 d>c B2'  
X:1
L:1/8
M:4/4
K:G
|: B2 G>B c2 A>c | B2 G>B A>F D2 | B2 G>B c2 A>c | B>GA>F G4 :: BdBd e2 d>c | B2 A>G B>G D2 | 
 BdBd e2 d>c | B2 A2 G4 :|  