From a- + longo + -ar, or from Vulgar Latin *allongāre, from Late Latin elongāre, from Latin longus.
Practice speaking and memorizing "alongar" and many other words and sentences in Portuguese.