We have:
Let x = number of apples
Let y = number of oranges
Maggie bought three times as many apples as she did oranges, this is:
x = 3y
$3 each apple
$2.50 each orange
Total cost $46
Then, we have the expression:
[tex]3x+2.50y=46[/tex]Next, solve the system of equations:
we replace x = 3y in the second equation
[tex]3(3y)+2.50y=46[/tex]And solve for y
[tex]\begin{gathered} 9y+2.50y=46 \\ 11.5y=46 \\ \frac{11.5y}{11.5}=\frac{46}{11.5} \\ y=4 \end{gathered}[/tex]Therefore, x is:
[tex]undefined[/tex]