Algebra word problem (Red and Yellow Jelly Beans)
A jar contains some red and some yellow jelly beans. If a child ate 1 red jelly bean, 1/7 of the remaining candies would be red. If instead the child ate 5 yellow jelly beans, 1/6 of the remaining candies would be red. How do I found out the number of jelly beans that are in the jar?
**HINT** $\ $ Put $\rm R = $ #red beans. Then the total #beans $\rm\: =\ 7\ (R-1) + 1\ =\ 6\ R + 5\:.$