Develop a musical work that employs the provided motif and observes the stated musical form.
X:1
L:1/8
M:4/4
K:D
['D2 (3FGA', 'AFED B2 BF ABde |1 fedB AFED'  
X:1
L:1/8
M:4/4
K:D
|: D2 (3FGA d4 | DFAF GFEF | D2 (3FGA d2 de |1 fedB AFEF :|2 fedB AFED |: B2 BF A2 AF | 
 B2 BF AFED | B2 BF ABde |1 fedB AFED :|2 fedB AFEF ||  