Answer:
Let x = # of hot dogs sold
Let x + 31 = # of sodas sold
For the total, do: Â x + x + 31 = 173
             2x + 31 = 173
                -31   -31
             2x       = 142
 Divide out both sides by 2; to get:  x - 71
 That gives us 71 hot dogs; and 71 + 31 = 102 sodas
 To test this:  71 + 71 + 31 = 173
                173   =  173   [Check]
Step-by-step explanation:
its above up there