The relation y = x2 + 2x + k passes through the point (2,0). Find…