The first three terms of an AP are respectively (3y – 1), (3y + 5) and (5y + 1), find the value of y.