Answer: Daniel bought 3 apples and 7 bananas.
Step-by-step explanation:
Let x represent the number of apples that Daniel bought.
Let y represent the number of bananas that Daniel bought.
He bought a total of 10 apples and bananas altogether. This means that
x + y = 10
Daniel and his children went into a grocery store and he bought $10.15 worth of apples and bananas. Each apple costs $1.75 and each banana costs $0.70. This means that
1.75x + 0.7y = 10.15 - - - - - - - - - - - 1
Substituting x = 10 - y into equation 1, it becomes
1.75(10 - y) + 0.7y = 10.15
17.5 - 1.75y + 0.7y = 10.15
- 1.75y + 0.7y = 10.15 - 17.5
- 1.05y = - 7.35
y = - 7.35/- 1.05
y = 7
x = 10 - y = 10 - 7
x = 3