Carl bought 19 apples of 2 different varieties to make a pie. The total cost of the apples was $5.10. Granny Smith apples cost $0.25 each and Gala apples cost $0.30. each. How many of each type of apple did Carl buy?
X= number of Granny Smith apples
Y= number of Gala apples
With the given data we build and solve the following system
So we conclude that
y=7 and x=12