Answer:
vanilla=$5 and fruit juice=$3
Explanation:
let $x and $y denote the cost of vanilla thickshake and fruit juice respectively.
Now,
$x=$y+2$ (Given)-----(i)
3×$x + 5×$y =30
3×($y+$2)+5×$y=30 (From equation i )
3×$y +$6 + 5×$y = 30
8×$y + $6 = $30
8×$y= $24
.: $y =$3
Then,
From i
$x =$y+$2
=$3+$2
#$5