Let's represent the number of cars sold by Dealership A as "C" and the number of trucks sold by Dealership A as "T".
According to the problem, Dealership A sells a total of 225 cars and trucks:
C + T = 225
Given that Dealership B sells twice as many cars and half as many trucks as Dealership A, we can represent the number of cars sold by Dealership B as "2C" and the number of trucks sold by Dealership B as "T/2".
The total number of cars and trucks sold by Dealership B is given as 300:
2C + T/2 = 300
To solve for C, we can express T in terms of C using the first equation:
T = 225 - C
Substituting this expression for T in the second equation, we have:
2C + (225 - C)/2 = 300
Multiplying through by 2 to eliminate the fraction, we get:
4C + 225 - C = 600
Combining like terms, we get:
3C = 375
Dividing both sides by 3, we find:
C = 125
Therefore, Dealership A sold 125 cars.
To find the number of trucks sold by Dealership B, we can substitute the value of C into the first equation:
125 + T = 225
Simplifying, we find:
T = 225 - 125 = 100
Therefore, Dealership B sold 100 trucks.