Compose a piece of music using the specified letter-based musical form and incorporating the assigned motif.
X:1
L:1/8
M:2/2
K:D
['f2 g2']  
X:1
L:1/8
M:2/2
K:D
|:"D" f2 ef e2 dB | AFAF B2 A2 |"A7" g2 fg f2 ed |1,3 BABc (3BcB A2 :|2,4 B2 c2"D" d4 :: 
"A7" e2 f2 g2 fe |"D" f2 g2 a4 |"A7" e2 f2 g2 e2 |1,3"Em" BABc"A7" (3BcB A2 :|2,4 B2 c2"D" d4 :|  