Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/8
M:2/4
K:D
['(AG) F D/D/ EE']  
X:1
L:1/8
M:2/4
K:D
 AA | dd A3/2 A/ | (AG) F D/D/ | EE F3/2 E/ | D2 AA | dd AA | (AG) F D/D/ | EE FE | D2 ||  