Let "x" be the number of orange balls and let "y" be the number of green balls.
We know that the number of green balls is eight more than four times the number of orange balls. So, we can write this as:
And, we also know that there are 123 balls altogether. So,
We're going to solve the system:
Notice that we could replace the first equation in the second one:
Then, there are 23 orange balls.
To find the number of green balls, we replace x=23 in any of both equations of the system:
Therefore, there are 100 green balls