I am in Pure 20 (Pre-Calculus 11) and I am stumped on how to do this.

"The terms 5x + 2, 7x + 4, and 10x + 6 are consecutive terms of an arithmetic sequence. Determine the value of x and state the 3 terms."

The formula we have been using in all of the previous questions is

t-sub-n = t-sub-1 + (n-1)(d)

Where Tn = nth term, n = number of terms, T1 = first term, and d = common difference.