Green apples would be 1x and since red apples are four times as much they would be 4x. Then add them up and you will get 5r. Then do 50/5 and that will give you the green apples which is 10. And then multiply 10 *4 to get to get 40 which is the amount of red apples