X minus 1 / 2 x equals 15. What's x

X minus 1 / 2 x equals 15. What's x

X-X/2=15
The two sides of the equation are multiplied by 2 to get the following result:
2X-X=30
X=30
If the original question X-2 is the whole as the denominator:
X/(X-2)=15
The two sides of the equation are multiplied by X-2 to get:
X=15(X-2)
X=15X-30
30=15X-X
14X=30
X=15/7