Inherited from Old Galician-Portuguese afondar, from Vulgar Latin *affundāre, derived from fundus (“bottom”). By surface analysis, a- + fundo + -ar. Compare Galician afondar, Spanish ahondar.
Practice speaking and memorizing "afundar" and many other words and sentences in Portuguese.