We'll get there.
You should first make sure that you have the two equations first.
Then, from the statement that they have the same y-intercept, you put in both equations, (0, y) [that is x = 0, and y = y]
Then, they intercept at x = 2 means that when x = 2, the y value is the same for both equations, that is substitute 2 and solve for y.
From those, you should be able to get the two different constants of integration.