Answer: Let x be the temperature in degrees Celsius of City A on that day, and let y be the temperature in degrees Celsius of City B on that day. Then the system of equations that models this scenario is:
5x = 3y + 8 (Equation 1)
x - 2y = -4 (Equation 2)
The first equation represents the fact that five times the temperature of City A was 8° C more than three times the temperature of City B. The second equation represents the fact that the temperature of City A minus twice the temperature of City B was −4° C.
We can solve for one of the variables in terms of the other variable by rearranging one of the equations. For example, we can solve for x in Equation 2:
x = 2y - 4
We can substitute this expression for x into Equation 1:
5(2y - 4) = 3y + 8
Simplifying and solving for y:
10y - 20 = 3y + 8
7y = 28
y = 4
Now that we know the temperature of City B was 4°C, we can substitute this value for y in Equation 2 to solve for x:
x - 2(4) = -4
x - 8 = -4
x = 4
So the temperature of City A was also 4°C.
Therefore, on that day, City A and City B had temperatures of 4°C and 4°C, respectively.
Step-by-step explanation: