Algebra 2 help... Quadratic equations

9th grade here! I need help with a problem.. this is it:

[Question]

Write y=a(x-h)^2+k and y=a(x-p)(x-q) in standard form. Knowing the

vertex of the graph of y=ax^2 + bx +c occurs at x=-b/2a, show that the vertex of the

graph of y=a(x-h)^2+k occurs at x=h and that the vertex of the graph of y=a(x-p)(x-q)

occurs at x=p+q/2.

This is how far I got:

y= a(x-h)^2+k

>a(x^2-2xh-h^2)+k

>y=ax^2-a2xh-ah^2+k

>y=ax^2+(-2ah)x+(-ah^2=k)

a=a b=-2ah c=ah^2+k

>Next part:

>a(x-p)(x-q)

>a(x^2-qx-px+pq)

>y=ax^2-aqx-apx+apq

I'm stuck here, how to I arrange it to be standard form?

Re: Algebra 2 help... Quadratic equations

Hey mathhelpplease.

It's been a while since I was in high school so can I ask what standard form is (for question 2)?

Re: Algebra 2 help... Quadratic equations

Re: Algebra 2 help... Quadratic equations

Thank you so much. That cleared things up but I wanted to know how you went from y=ax^2-apx-aqx+apq to y=ax^-a(p+q)x+apq