The entire distance consists of three segments of the length d = |AB|, d = |BC| and 2d = |CA|.
Hence, the average speed of the car at the entire journey is
average speed = = = = = = 40.678 kilometers per hour (approximately)