derivatives + tangent line equation

For each of the following, compute $\displaystyle \frac{dy}{dx}$ and find the equation for the tangent line at the indicated point x0. You may leave your answers in point-slope form

1. $\displaystyle y = x^2 + cos(pi(x^2+1))$; x0 = 1

for #1.

I found $\displaystyle \frac{dy}{dx}$ and used the chain rule for the cosine part and ended up with

$\displaystyle 2x$

do i then use the tangent line formula ?

$\displaystyle y-y1 = m (x-x1)$?

if so, how do i plug in the numbers?