I've never come across a question like this before, perhaps someone will be able to point me in the right direction.

Find the equation of a curve with x-intercept equal to 2 and whose tangent line at any point (x,y) has slope .

Watch this be something really easy I skipped over in my text book, anyways thanks in advance for the help.