Given the function y = x2-4x-5, find the range when 1 x belongs to {- 10 1 2 3 4} and 2 x belongs to the range when [- 2 1]

Given the function y = x2-4x-5, find the range when 1 x belongs to {- 10 1 2 3 4} and 2 x belongs to the range when [- 2 1]

(1) 2 is the minimum and - 1 is the maximum