quadratic function and showed the area