Show how to solve scenario based querywith steps

Answer: The customer purchased 6 apples and 4 bananas.

Step-by-step solution

Step 1: Define variables and form the system of linear equations

Let xx represent the number of apples and yy represent the number of bananas. Since the total fruit count is 1010, we have x+y=10x + y = 10. The total cost equation is given by 2x+y=162x + y = 16.

Step 2: Solve for x by eliminating y

Subtract the first equation from the second equation to eliminate the variable yy. This simplifies directly to x=6x = 6, meaning 66 apples were purchased.

Step 3: Substitute x to find y

Substitute x=6x = 6 into the first equation x+y=10x + y = 10. Subtracting 66 from both sides gives y=4y = 4, which is the number of bananas.

Solve your own maths question free →