Answer:
6 bags of cucumber
4 bags of spinach
Explanation:
let s = number of bags of spinach
let c = number of bags of cucumber
If the owner washed 10 bags of vegetables in total, then
s + c = 10
The spinach came in 10kg bags and the cucumbers came in 9kg bags, and the owner washing 94kg of veg in total:
10s + 9c = 94
Rewrite s + c = 10 to make s the subject, substitute it into 10s + 9c = 94, then solve for c:
s + c = 10
⇒ s = 10 - c
⇒ 10(10 - c) + 9c = 94
⇒ 100 - 10c + 9c = 94
⇒ -c = -6
⇒ c = 6
Substitute c=6 into s + c = 10 and solve for s:
s + 6 = 10
⇒ s = 4