h) It isn't easy to ride / riding a horse if it behaves badly.
После конструкции it is easy употребляется to infinitive.
Ответ: ride