x=number of oranges.
y=number of bananas.
$5
we can suggest this system of equations:
x+y=12
0.5x+0.25y=5
We can solve this system of equations by substitution method.
x=12-y
0.5(12-y)+0.25y=5
6-0.5y+0.25y=5
-0.25y=5-6
-0.25y=-1
y=-1 /- 0.25=4
x=12-y
x=12-4=8
Answer:
Tanya bought 8 oranges and 4 bananas.