Write a system of equations to describe the situation below, solve using elimination or substitution.

Yesterday, Jon drank 5 cans of Mountain Dew and 5 cans of coke, he consumed 1160 grams in total. Today he drank 8 cans of Mountain Dew and 5 cans of coke he consumed a total of 1523 grams of sugar. How many grams of sugar are in one can of Mountain Dew and one can of coke?

Can you explain how you did it? Thank you!!