Let's denote the number of marbles originally in each bag as \( m \). Initially, since there are 5 bags, the total number of marbles is:
\[ 5m \]
After adding 10 marbles to each bag, the number of marbles in each bag becomes \( m + 10 \). Therefore, the total number of marbles in all bags after the addition is:
\[ 5(m + 10) \]
According to the problem, this total equals 80:
\[ 5(m + 10) = 80 \]
To summarize, the equation you can solve to determine how many marbles were originally in each bag is:
\[ 5(m + 10) = 80 \]