The ending must match the noun or pronoun responsible for the action, e.g.
Hoffwn i brynu'r llyfr. I would like to buy the book.
Hoffaf ddarllen yn y gwely bob nos. I like to read in bed every night.