Trigonometry Examples

Graph g(x)=a(x-h)^2+k
I am unable to solve this problem.