Develop a musical composition based on the specified form and using the given motif.
X:1
L:1/8
Q:1/4=104
M:6/8
K:D
['F2 A']  
X:1
L:1/8
Q:1/4=104
M:6/8
K:D
"^Moderato" A | d2 d A2 A | F2 A D3 | d3 f2 d | c2 e z2 A | B2 B d2 B | A2 G F3 | BAB dcB | 
 ABG FGA | G2 B F2 A | EFG ABc | d2 A ABG | F3 D2 z |]  