Develop a musical composition based on the specified form and using the given motif.
X:1
L:1/8
M:6/8
K:D
['F2 A AFA B/c/dB', 'f3 fed'  
X:1
L:1/8
M:6/8
K:D
|: F2 A AFA | B/c/dB AFE | F2 E EDE | F2 D D3 | F2 A AFA | B/c/dB AFA | Bcd ecA |1 ded d3 :|2 
 d3 d2 e |: f3 fed | g2 e ede | f3 fed | aga bag | f3 fed | g2 e edB | ABd ecA |1 ded d2 e :|2 
 d3 d3 ||  