The working provided appears correct, but is flawed because there is only one curve (and one value of c) which actually passes through (1, 1). It is true that all curves have the same gradient because the total number of curves in the 'family' passing through the point (1, 1) is 1.