Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/8
M:2/4
K:G
['AAAd c3 B AAAd c4 d c2']  
X:1
L:1/8
M:2/4
K:G
 AAAd | c3 B | AAAd | c4 | d c2 d | eage | dcde | dc A2 | AE A2 | A d2 B | A2 G2 | AG/F/ E2 | 
 AEA>B | GF/E/ D2 | ED/E/GF/E/ | D4 |]  