Using the provided motif, produce a musical composition that follows the prescribed musical form.
X:1
L:1/8
M:6/8
K:D
['def AFA', 'A def AFA DED AFA dcB AGF', 'Add fdB'  
X:1
L:1/8
M:6/8
K:D
 A | def AFA | DED AFA | def AFA | EFA TB2 A || def AFA | DED AFA | dcB AGF | EFA TB2 :: A | 
 Add fdB | cBc ecA | Add fdB | AFA{c} B2 A ||1 Add fdB | cBc efg | fdB AGF | EFA B2 :|2 Aff fed | 
 cee efg | fdB AGF | EFA B2 |]  