<s>[INST] A curve passes through the point (2,5) and its equation is  y = ax^2 + bx + 1,  where a and b are constants to be determined. The tangent to the curve at the point (2,5) has a slope of 2. What are the constants a and b?[/INST]