The first one is 200 because 1000 divided by 135 is 7.40740741 and 7.40740741 times 27 is APPROXIMATELY 200. Therefore that is how many candies there are. (real answer 200.00000007)
The second question: 100- 1,495 500- 7,475 1000- 14,950
Hope I helped! :)