Vanessa collected Barbie dolls. She began with 2 dolls and added the same amount of dolls to her collection each year. In the 24th year, Vanessa had 98 dolls. Which function, d(n), can be used to determine the number of dolls Vanessa had in any year?