5 out of 18 = x out of 3, what is x equal to I want it now

5 out of 18 = x out of 3, what is x equal to I want it now

5/18=x/3
x=5/18 *3
x=5/6