Develop a musical composition based on the provided pattern of letters and incorporating the given motif within it.
X:1
L:1/4
M:4/4
K:F
['A2 F']  
X:1
L:1/4
M:4/4
K:F
 A | A2 F B | A2 F A | G2 (E/ F/) G | F3 G | (A G) A B | c2 c E | G2 (F/ E/) D | C3 d | c2 F G | 
 F/ E/ D2 B | B A B c | (F E2) C | (D F) G E | (F d) c A | c2{d} B G | F3 |]  