Answer:
6
Explanation:
Define the variables:
- Let x = red pencil
- Let y = blue pencil
From the given blackboard, create a system of equations from the first three equations:

Add the first equation to the second equation to eliminate y:

Solve the equation for x:


Substitute the found value of x into the second equation and solve for y:


Therefore, the value of the red pencil is 6 and the value of the blue pencil is 3.
Finally, substitute the found value of y into the last equation:
