what is the total ionic equation for

AlPO4(aq)+3NaOH(aq)=Al(OH)3(s)+ Na3PO4, I am not sure I am right.

Why didn't you write what you have and we could check it?

To write the total ionic equation for the given reaction, let's break down each compound into its respective ions and then write the equation.

AlPO4 is a compound that dissociates into Al^3+ and PO4^3- ions in water.
NaOH is a compound that dissociates into Na+ and OH- ions in water.
Al(OH)3 is a solid that does not dissociate into ions, as it is not soluble in water.
Na3PO4 is a compound that dissociates into 3 Na+ ions and 1 PO4^3- ion in water.

Now, let's write the balanced total ionic equation by including the dissociated ions:

Al^3+(aq) + PO4^3-(aq) + 3Na+(aq) + 3OH-(aq) → Al(OH)3(s) + 3Na+(aq) + PO4^3-(aq)

Since Na+ and PO4^3- ions appear on both sides of the equation, they can be canceled out:

Al^3+(aq) + 3OH-(aq) → Al(OH)3(s)

Thus, the balanced total ionic equation for the given reaction is Al^3+(aq) + 3OH-(aq) → Al(OH)3(s).