I need to find the equation for a straight line that goes through point (2,4) and has a gradient of 3

I know the equation is y=mx+c but I don't have c. If I treat the point I was given as c (c=4) and add 2 to x will it be right?

y=3(x+2)+4

Or are the brackets messing it up? It doesn't look like it would be right. Could it be;

y=3x+6

That also doesn't seem right. I don't know.

Thanks in advance!