the graph of the relation y=x^2+2x+k, passes through 2 and 0 find the value of k. plz explain

It appears that you mean it passes through the point (2,0). So, plug those values in and you have

4+4+k = 0
k = -8

so, y = x^2+2x-8