There are several approaches that can be taken. This is one of them:

The equation can be written in turning point form as .

Substitute the known points (0, 10) and (5, 0) to get two equations in the unknowns a and z. Solve these two equations simultaneously to get the values of a and z.