a vender sold a combined total of 244 sodas and hotdogs. the number of hot dogs sold was 38 less then the number of sodas. how many hotdogs and sodas were each sold

Respuesta :

h+s=244
h=s-38

sub s-38 for h
s-38+s=244
2s-38=244
add 38 both sides
2s=282
divide 2 both sides
s=141

sub
h=s-38
h=141-38
h=103


103 hot dogs
141 sodas
let sodas = x.

Hot dogs = x - 38

x + x - 38 = 244

2x - 38 = 244

2x = 244 + 38

2x = 282

x = 282/2

x = 141

sodas = x = 141,   hot dogs = x - 38 =  141 - 38 = 103