You would take the total (175) and subtract the difference (35) then take the remaining total (140) and divide into two equal parts (70 hot dogs & 70 sodas) then add the extra number of sodas (35) and add it to the 70 sodas and you get 105 sodas and 70 hot dogs sold.