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:Bb
['A2 G2']  
X:1
L:1/8
M:4/4
K:Bb
 D2 | G2 (GA) B2 (cB) | A2 G2 E2 Bc | d3 c(dG)(GA) | B2 c4 Bc | d3 c d2 F2 | GG(GA) B2 cB | 
 A2 G2 (D=E) F2 | (G3 F) G2 ||  