A solution of a salt was acidified with HCI when a few drops of BaCI2…