Answer:
3(8+17)
Explanation:
Since the gas prices are the same, we need to find a number that divides into both 24 and 51.
The factors of 24 are 1,2,3,4,6,8,12,24.
The factors of 51 are 1,3,17,51.
So, their common factor is 3. Price of gallon of gas = $3
Now we know the price, we can divide each total by 3 to find out how many each person bought.
One person bought $24 of gas: 24/3 = 8: They bought 8 gallons of gas
Another person bought $51 of gas: 51/3=17: They bought 17 gallons of gas
Represented as an expression, this is:
3(8+17)