The gradient of curve at any point is given by 2x – 1. Given that the curve passes through point (1, 5), find the equation of the curve.