4.1. (16 points) An eraser, 3 pens, and 2 markers cost 240 rubles, while 2 erasers, 4 markers, and 5 pens cost 440 rubles. What is the total cost (in rubles) of 3 erasers, 4 pens, and 6 markers?
Answer: 520.

Solution. From the condition, it follows that 3 erasers, 8 pens, and 6 markers cost $440+240=680$ rubles. Moreover, 2 erasers, 6 pens, and 4 markers will cost $2 \cdot 240=480$ rubles. Therefore, one pen costs $480-440=40$ rubles. Then, 3 erasers, 4 pens, and 6 markers cost $680-4 \cdot 40=520$ rubles.