quadratic functions r1.pdf