I'm not sure if i'm right, but
take the first derivative
so the tangent line is
b depends on your n, i don't feel like working it out though sorry
I think that's right but i've never done a problem like this so...