Correct

谱曲

/ pǔqǔ / 
Strokes

Definition

to compose a piece of music

Example

As a Verb

put/set sth to music

1
Zhè
这
shǒu
首
shī
诗
hòulái
后来
bèi
被
pǔ
谱
shàng
上
le
了
qǔzi
曲子
  
。

This poem was later set to music.

As a Verb

compose a song; write a musical composition

2
Yǐ
以
gāngqín
钢琴
pǔqǔ
谱曲

compose at the piano