First of all, your are loading the scripts twice. If you have it installed through npm, then why add the CDN in the layout file again?
There are several ways, but, just follow this tutorial on YouTube. It is Livewire 2, but will also work with version 3. https://www.youtube.com/watch?v=cLx40YxjXiw