There are 17 apples in a basket. 9 of these apples are green. the rest of them are red. what is the ratio of all apples in the basket to red apples? . what is the ratio of green apples to red apples?