Respuesta :
Let the cost of each fruit be represented as follows;
[tex]\begin{gathered} \text{Apples}=a \\ \text{Oranges}=b \\ \text{ Pineapples=c} \end{gathered}[/tex]If the cost of the oranges is 2 dollars less than thrice the cost of the apples, then we would have;
[tex]b=3a-2[/tex]Also, if the cost of pineapples is 2 dollars more than twice the cost of the apples, then we would have;
[tex]c=2a+2[/tex]The total cost of the fruits is given as;
[tex]a+b+c=18.95[/tex]With the values of a, b and c now known;
[tex]\begin{gathered} a+(3a-2)+(2a+2)=18.95 \\ a+3a-2+2a+2=18.95 \\ \text{Collect all like terms, and you'll have} \\ 6a=18.95+2-2 \\ 6a=18.95 \\ \text{Divide both sides by 6} \\ \frac{6a}{6}=\frac{18.95}{6} \\ a=3.158333\ldots \\ a\approx3.2 \end{gathered}[/tex]We can now substitute the value of a to determine the cost of each fruit as follows;
[tex]\text{Apples}=3.20[/tex][tex]\begin{gathered} \text{Oranges}=3a-2 \\ \text{Oranges}=3(3.2)-2 \\ \text{Oranges}=9.6-2 \\ \text{Oranges}=7.6 \end{gathered}[/tex][tex]\begin{gathered} \text{ Pineapples=2a+2} \\ \text{ Pineapples}=2(3.2)+2 \\ \text{ Pineapples}=6.4+2 \\ \text{ Pineapples}=8.4 \end{gathered}[/tex]