The ratio of $x$ to $y$ is $1$ to $2$. What is the value of $x$ if $y=4x-36$?
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
The ratio of $x$ to $y$ is $1$ to $2$. What is the value of $x$ if $y=4x-36$?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
18
The ratio of $x$ to $y$ is $1$ to $2$. What is the value of $x$ if $y=4x-36$?
train