A girl scout was selling boxes of cookies. In a month, she sold both boxes of chocolate chip cookies ($1.25 each) and boxes of plain cookies ($0.75 each). Altogether, she sold 1,585 boxes for a combined value of $1,586.25. How many boxes of plain cookies did she sell?
Choose the correct answer
A) 0  B) 233  C) 500  D) 695  E) 790

Rationale: let # plain cookies sold be x then # chocolate cookies = ( total cookies - x ) equating for x ( 0.75 ) * x + ( 1.25 ) * ( 1585 - x ) = 1586.25 = > x = 790 e
Answer: E