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
['dfec dBAF', 'd2 fd adfd'  
X:1
L:1/8
M:4/4
K:D
 A | dfec dBAF | GABd cAAc | dfec dBAF | GBAG FDD :: A | d2 fd adfd | Adfd Beef | d2 fd adfd | 
 gbag fdd :|  