Sean and Greg had an equal number of gumballs. After Sean gave away 34 gumballs and Greg gave away 134 gumballs, Sean had 6 times as many gumballs as Greg. How many gumballs did each have at first?

X-34 = 6(X-134) = 6x - 804

5X = 804-34 = 770

X = 770/5 = 154 gumballs each to start

154-34 = 120

154-134 =20

120 is 6 times 20