If k+7, 2k-2 and 2k+6 are there consecutive terms of an AP then the value of k is | class 10 maths