EXPLANATION :
The banana costs $0.50 and the mango costs $2.
Let B = the number of bananas
M = the number of mangos
She bought twice as many bananas as mangos.
So B = 2M
The total cost of bananas and mangoes is $12
Then :
![\begin{gathered} \$0.50B+\$2M=\$12 \\ \$0.50(2M)+\$2M=\$12 \\ M+2M=12 \\ 3M=12 \\ M=(12)/(3)=4 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/a6f04tpe4n5pg0z6o65lg9c8ejt1o63hac.png)
Since M = 4, B will be :
B = 2M
B = 2(4) = 8
ANSWER :
The number of bananas is 8 and the number of mangoes is 4.