Problem 3. During a math test, Oleg was supposed to divide a given number by 2, and then add 6 to the result. But he hurried and instead multiplied the given number by 2, and then subtracted 6 from the result. Nevertheless, he got the correct answer. What number was given to Oleg
Answer: 8.

Solution. Since Oleg multiplied the number by 2 instead of dividing it, he got a result that is four times greater than the required one. This means that the difference between these two results is three times greater than the required result. However, according to the condition, this difference is equal to $6+6=12$. Therefore, the required result is $12: 3=4$. Then the guessed number is $4 \cdot 2=8$.