Construct a musical composition utilizing the provided motif and conforming to the specified structure.
X:1
L:1/8
M:2/2
K:G
['D3 D G2', 'G4 f gfef d3 d gfga b3'  
X:1
L:1/8
M:2/2
K:G
 B>A | G2 GE D3 D | G2 GA cBAG | cBce dBAGS | ABAG E2 BA | G2 GB D3 D | G2 G2 g3 f | edcB ABcd | 
 cBAF G4 :| f | gfef d3 d | gfga b3 a | e2 gedB AG | ABAG E2 BA | G2 GB D2 D2 | G2 G2 g3 f | 
 edcB ABcd | cBAF G4 :|  