Using the given motif, compose a musical work that follows the prescribed musical form.
X:1
L:1/8
M:3/4
K:D
['dd d2 AA/c/ ee e2 fe/f/ gg', 'd2 aa/a/ ff d2 gg/g/ ee c2'  
X:1
L:1/8
M:3/4
K:D
 AA/A/ dd d2 | AA/c/ ee e2 | fe/f/ gg fa | g/g/e/e/ dA/A/ FA | AB/c/ dd d2 | AA/c/ ee e2 | 
 fe/f/ gg fa | g/g/e/e/ c2 d2 |] aa/a/ ff d2 | gg/g/ ee c2 | ee/e/ dB B2 | ee/e/ cc A2 | 
 AB/c/ dd d2 | cc/c/ ee e2 | fe/f/ gg fa | g/g/e/e/ c2 d2 |]  