Answer: Option B
Explanation:
If the solution is 6 then it means that x=6.
Let's call the missing number y
Substitute x=6 and y into the equation and solve for y:

The options does not show 18, but the option B shows 3x, then if x=6:

The answer is the option B