Consider the following phrases:
I - What Beatles’ song do you like more: “Imagine” or “Yesterday”?
II - My house, which was built by my husband, is now for sale.
III - What is your favourite book?
IV - Which shirt do you think I should by: the pink or the black one?
About the use of “what” and “which”, it is right to affirm that: