Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/8
M:3/8
K:G
['A/B/ ccB/A/ B/c/dc/B/ AAB/A/']  
X:1
L:1/8
M:3/8
K:G
 D | G>AB | A>GA | BcB | A2 A/B/ | ccB/A/ | B/c/dc/B/ | AAB/A/ | G2 A/B/ | ccB/A/ | B/c/dc/B/ | 
 AAB/A/ | G2 |]  