Finding the vertex form of the quadratic function from its graph