Give the domain and range of the quadratic function whose graph is described.Maximum = - 1 at x = 1

Given:
Maximum=-1 at x=1
Domain:
[tex]\text{Domain of the function is }(-\infty,\infty)[/tex]Range:
[tex]\text{Range of the function is }(-\infty,-1\rbrack[/tex]