Equation for dealership A:
Cars + Trucks = 164
Equation for dealership B:
2(Cars) + (1/2)(Trucks) = 229
To solve for the number of cars sold at dealership A, we can use the equation for dealership A:
Cars + Trucks = 164
Since we know that dealership B sells twice as many cars as dealership A, we can substitute 2(Cars) for the number of cars sold at dealership B, which gives us:
Cars + Trucks = 164
2(Cars) + (1/2)(Trucks) = 229
Multiplying the first equation by 2 gives us:
2(Cars) + 2(Trucks) = 328
Now we can subtract the second equation from this equation to eliminate the Cars variable:
3/2(Trucks) = 99
Trucks = 66
To find the number of cars sold at dealership A, we can substitute Trucks = 66 into the first equation:
Cars + 66 = 164
Cars = 98
Therefore, dealership A sold 98 cars and dealership B sold 2(98) = 196 cars.