There's no single definitive answer to the average cost of a car in 2006. The average price varies depending on the source (Kelley Blue Book, Edmunds, etc.), the type of vehicle (new vs. used, car vs. truck/SUV), and how the average is calculated (mean vs. median).
However, a reasonable estimate for the average price of a *new* car in the US in 2006 would be in the range of $25,000 to $28,000. Keep in mind that this is just an approximation. The used car market would have shown significantly lower average prices.