Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/8
M:3/4
K:D
['A,DE F2 F2 EE D2 z dcB']  
X:1
L:1/8
M:3/4
K:D
 A,DE | F2 F2 EE | D2 z dcB | c2 A2 BB | A2 z A | AAAd | d2 BBBBdB | BA/^G/AF/=G/ | AAB/A/G/F/ | 
 G2 A2 | F2 z |]  