Finding the quadratic functions for given parabolas