Write a linear equation of one variable with x = 2 as the solution and the coefficient of an unknown is 0.5

Write a linear equation of one variable with x = 2 as the solution and the coefficient of an unknown is 0.5

There is also an unknown number. You said that it is a linear equation with one variable, so there is only one unknown number. But there can be multiple items. If you want to say that the coefficient of a certain item is 0.5, for example: 0.5x + 1.5x = 4