find rules for quadratic functions with graphs meeting these conditions.

1.x-intercepts at (4,0)and(-1,0) and opening upward

2.x-intercepts at (2,0)and(6,0) and maximum point=(4,12)

3.only one x-intercept and that=(-3,0) and the y-intercept=(0,18)