what would be the name for these compounds?

K3PO4?
It's not Tripotassium phosphate.

HCL?
its not Hydrogen chloride.

2 answers

No it isn't. Also you will see potassium tetraoxophosphate(V) and that isn't right either.
It's potassium phosphate.
The other is hydrogen chloride if it is a gas. In aqueous solution it is [HCl(aq)] hydrochloric acid
thanks bob