Jeremy can determine the total number of miles walked at a constant speed by using the formula an=an-1+3. If a1=2, what are the first three terms of the sequence?
A. 1, 5, 8
B. 2, 6, 18
C. 2.-1, -4
D. 2, 4, 6