Hi,
Both version each have their own set of database tables. You can safely uninstall v5.
Please note that uninstalling v5 does not remove its database tables. If you want to delete these as weel you need to do it manually with phpadmin. Tables starting with #-acymailing belong to v5 and the ones starting with #-acym belong to v7.