the ratio of green candies to purple candies is 3:12. there are 36 purple candies in the jar. how many green candies are in the jar