5 / 12 of a number is equal to 2 times of 5 / 6

5 / 12 of a number is equal to 2 times of 5 / 6

Let this be X
5/12x=5/6 x 2
5/12x=5/3
x=5/3 / 12/5
x=4
So the number is four