Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/8
M:3/4
K:G
['ceBdAc GBDGB,D', 'G4 BG F2 F2 cA G2 G2', 'G2 FGABcA'  
X:1
L:1/8
M:3/4
K:G
 Bd | ceBdAc | GBDGB,D | A,DFAcA | cBed d2 | ceBdAc | GBDGB,D | A,DFAcA | G4 :: BG | F2 F2 cA | 
 G2 G2 dB | A2 ABce | d4 B2 | c2 B2 A2 | G2 B2 G2 | FGABcA | G4 :: D2 | G3 ABG | B2 A2 G2 | 
 FGABcA | cBed d2 | G3 ABA | B2 G2 G2 | FGABcA | G4 :|  