Create tunes based on the provided motif and adhere to the specified musical arrangement.
X:1
L:1/8
M:3/4
K:D
['A dd{c} d2 AB cd{c} B2 AB']  
X:1
L:1/8
M:3/4
K:D
 A | dd{c} d2 AB | cd{c} B2 AB | dd d2 Af | gf e2 fg | af g2 fe | dd d2{c} AB | =cB{F} G2 A^c | 
 dd d2 |]  