Hank bought a $24,000 car when he graduated from college. If his car depreciates at a rate of 10% per year, how long will it take for the car to lose half its value?