Problema Solution

tetel bungi went to a confectionery. She saw that the price of the red and yellow candies are Php 13 and Php 22, respectively. If the number of red candies she bought is thrice as much as the number of yellow candies she bought, and she paid a total of php 305 for the red and yellow candies, how many of each type of candy did she buy?

Answer provided by our tutors

let


r = the number of red candies tetel bought by the price of Php 13

y = the number of yellow candies tetel bought by the price of Php 22


the number of red candies she bought is thrice as much as the number of yellow candies


r = 3y


she paid a total of php 305 for the red and yellow candies


13r + 22y = 305


by solving the system of equations


r = 3y

13r + 22y = 305


we find


r = 15 red candies


y = 5 yellow candies


she bought 15 red and 5 yellow candies.