The icon with the dot under it is the version that is running. What happens when you click the other icon?
The icons on the Dock are aliases to the applications. You can drag them off the Dock is you don't want them, but you might look in your Applications folder first to see if you have two versions installed. We can't tell that from here.
You didn't say how well you know macOS. Here is the Help menu from Apple on using the Dock: