The task is to generate the correct answer for a given math problem.

Problem: when x is multiplied by 3 , the result is 10 more than the result of subtracting x from 26 . what is the value of x ?
9