When - 3 ≤ x ≤ 3, find the maximum and minimum value of the function y = x ^ 2-2x-3

When - 3 ≤ x ≤ 3, find the maximum and minimum value of the function y = x ^ 2-2x-3

Ymin = - 4 when y = (x-1) ^ 2-4 and x = 1
When x = - 3, ymax = 12