Develop a musical composition based on the specified form and using the given motif.
X:1
L:1/8
Q:1/8=120
M:6/8
K:D
['F D3 z A AGF GAc', 'd2 d/e/ fef g-g/f/e/d/ c G3 z'  
X:1
L:1/8
Q:1/8=120
M:6/8
K:D
"^moderate" d | d2 A A2 G | F D3 z A | AGF GAc | d3 d2 d | dAA AAG | F D3 z A | AGF GAc | d3 d2 || 
 d/e/ | fef g-g/f/e/d/ | c G3 z f | fef g>fe | d3- d2 (3e/f/g/ | a>gf gfe | f A3 z A | A>GF GAc | 
 d3- d3 |]  