Compose a musical piece that incorporates the given motif and adheres to the specified form.
X:1
L:1/8
M:4/4
K:D
['(3EFG A>BA>F D>E (3FED B,2 _B,2 A,2', 'D2 (3FGA B2 B>A B>cd>B A2 A>B'  
X:1
L:1/8
M:4/4
K:D
|: (3EFG | A>BA>F D>E (3FED | B,2 _B,2 A,2 D>E | F>DF>A B>AF>D | E2 E>^D E2 F>G | A2 F2 D>EE>D | 
 B,2 G,>B, A,2 (3CDE | F>^EF>D =E>^DE>F | D2 (3DDD D2 :: (3FGA | B2 B>A B>cd>B | A2 A>B A>FD>F | 
 A2 (3FGA B>AF>D | E2 (3EEE E2 (3EFG | A>BA>F D2 (3FED | B,>^A,B,>G, =A,2 D>E | F2 F>D E2 E>F | 
 D2 D2 D2 :|  