Write an equation for the intervals of a parabola with x-intercepts at (2,0) and and (-5,0) that passes through the point (1, -18).

Help is always greatly appreciated.