@Nellyson
Hi! The correct is the first one. It is derived from the spanish word "commo esta" and as the time goes by, it turned into "kumusta" means how are you.
Kamusta is still acceptable because some Filipino used it, but you can't find this word in any Filipino/Tagalog dictionary. 😊