Let x= the number of books purchased: 7 books purchased
let y = the number of toys purchased;10 toys purchased
Equations: x+y=17
6x+11y=152 x+10=17
-6(x+y=17) y=10 -10 -10
------------
-6x-6y=-102 x=7
6x+11y=152
--------------------
0x+5y=50
---- ----
5 5
for the red it is 5out of 15 or 3/5
and for the blue it is 4/15
and if it wants it together it is 9/15 or 3/5
hope this helps