Answer:
The number of drinks that Sarah bought was 2 and the number of candies that Sarah bought was 6
Step-by-step explanation:
Let
x ----> the number of drinks that Sarah bought.
y ----> the number of candies that Sarah bought.
we know that
she bought $35.50 worth of drinks and candies
so
[tex]5x+4.25y=35.50[/tex] -----> equation A
She bought 3 times as many candies as drinks.
so
[tex]y=3x[/tex] -----> equation B
Solve the system by graphing
Remember that the solution is the intersection point both graphs
using a graphing tool
The solution is the point (2,6)
see the attached figure
therefore
The number of drinks that Sarah bought was 2 and the number of candies that Sarah bought was 6