Inherited from Old Galician-Portuguese penar. By surface analysis, pena + -ar.
Practice speaking and memorizing "penar" and many other words and sentences in Portuguese.