Silver phosphate has the formula:

Acetic Acid has the formula

Mix them together and you get the equation:

The equilibrium equation from this formula is:

To compute the equilibrium constant from this, multiply by values that are equal to one, but that allow you to use known constants: