Construct a piece of music using the designated motif as the basis, while ensuring the required form is followed.
X:1
L:1/8
M:2/2
K:D
['(3(FED) (AF) BGAF', 'eg=cg ecgc'  
X:1
L:1/8
M:2/2
K:D
 G | (3(FED) (AF) BGAF | EG=cG ECCE | (3(FED) (AF) BGAF | Dddc dD D :| g | fada fdaf | eg=cg ecgc | 
 fada fdad | (3(Bcd) AG FDDg | fada fdad | eg=cg ecgc | afge fdec | dABG FD D ||  