Question 351969
create 2 equations since there are two unknowns
--
Let A=lbs of type 1 grapes
Let B=lbs of type 2 grapes
--
weight equation 1:   A+B=14  (together they weight 14 lbs)
Cost equation 2:    0.25A+0.20*B=3.10   (together they cost 3.10)
--
multiply equation2 by 100 to eliminate the decimal and work with whole numbers
25A+20B=310
--
Solve equation 1 for A:    A=14-B
--
Substitute into above equation
25*(14-B)+20B=310
---
25*14-25B+20B=310  (distribute 25)
--
350-5B=310      (combine and simplify)
--
-5B=310-350=-40   (sub 350 from both sides)
--
B=-40/-5=8
--
subsitute B=8 into A=14-B,  A=6
===
Validate the answer of A=6, B=8 by sub stituting into original equation
--
0.25A+0.20*B=3.10 
0.25*6+0.2*8=1.5+1.6=3.10  check