Compose a piece of music using the specified letter-based musical form and incorporating the assigned motif.
X:1
L:1/8
M:4/4
K:G
['(3def gfed']  
X:1
L:1/8
M:4/4
K:G
|: Bd(3ddd dedB | d2 (3def gfed | Bd (3def gfed | (3efg deBA A2 | B3 A G2 G F | EFGE D2 DC | 
 B,DGA Bddc | Bd Ad G2 z2 :|  