Answer: Both the salts are basic salts.
Explanation:
Salts are formed when an acid reacts with a base during a neutralization reaction.
When a strong acid and a weak base reacts, it leads to the formation of acidic salt.
When a strong base and weak acid reacts, it leads to the formation of basic salt.
When a strong acid and strong base or weak acid and weak base reacts, it leads to the formation of neutral salts.
[tex]Ba_3(PO_4)_2[/tex] is a salt which is formed by the combination of [tex]H_3PO_4\text{ and }Ba(OH)_2[/tex]. Phosphoric acid is a weak acid and barium hydroxide is a strong base. So, the given salt is a basic salt.
[tex]NaCN[/tex] is a salt which is formed by the combination of [tex]HCN\text{ and }NaOH[/tex]. Hydrogen cyanide is a weak acid and sodium hydroxide is a strong base. So, the given salt is a basic salt.
Hence, both the salts are basic salts.