Math help storie problem
posted by David .
Dave buys 3 green peppers and 2 red peppers for $3.45. Ruth buys 4 green peppers and 3 red peppers for $ 5.00. Find the price of each variety of pepper.

let g be the price of green peppers and r be the price of red peppers.
3*g + 2*r = 3.45
4*g + 3*r = 5.00
Use algebra to solve for g and r