since you are given the vertex, then you should use the vertex form
y=a(x-h)2+k
given vertex (5,1) which represents (h,k), our equation would be
y=a(x-5)2+1
next, we're going to use the given pt (-8, 8) in our equation to solve for a.
8=a(-8-5)2+1
8=a(-13)2+1
..... a=7/169
the equation in vertex form would be
y=7/169(x-5)2+1
for standard form just expand and combine like terms.