Correct option is B
The correct substitution of the highlighted words is (b) "a very easy task."
Error identification: "A piece of cake" means something very easy.
Corrected sentence: Riding a horse was a very easy task for him.
Error identification: "A piece of cake" means something very easy.
Corrected sentence: Riding a horse was a very easy task for him.